| Using Simulink | Search  Help Desk |
| save_system | Examples See Also |
Syntax
save_system
save_system('sys')
save_system('sys', 'newname')
Description
save_system saves the current top-level system to a file with its current name.
save_system('sys') saves the specified top-level system to a file with its current name. The system must be open.
save_system('sys', 'newname') saves the specified top-level system to a file with the specified new name. The system must be open.
Example
This command saves the current system.save_systemThis command saves the
vdp system:
save_system('vdp')
This command saves the vdp system to a file with the name 'myvdp'.
save_system('vdp', 'myvdp')
See Also
close_system, new_system, open_system