save_system
Save Simulink model
Syntax
Description
saves the current top-level
model. If the model was not previously saved, filename = save_systemsave_system creates a file in
the current folder.
To save a subsystem, instead use
Simulink.SubSystem.copyContentsToBlockDiagram to copy the subsystem contents
to a new model. You can then save that model using save_system. See Simulink.SubSystem.copyContentsToBlockDiagram.
saves the model with additional options specified by one or more filename = save_system(sys,Name,Value) Name,Value
pair arguments.
saves the model to a new file with additional options specified by one or more
filename = save_system(sys,newsys,Name,Value) Name,Value pair arguments. To use Name,Value pairs
without saving to a new file, use [] for newsys.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced before R2006a