Simulink Reference    
new_system

Create an empty Simulink system.

Syntax

Description

new_system('sys') creates a new empty system with the specified name. If 'sys' specifies a path, the new system is a subsystem of the system specified in the path. new_system does not open the system window.

See Appendix , "Model and Block Parameters, for a list of the default parameter values for the new system.

Example

This command creates a new system named 'mysys'.

This command creates a new subsystem named 'mysys' in the vdp system.

See Also


  get_param open_system