Save Simulink model
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 system 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
.