Load Simulink model into memory
handle = load_system(sys)
example
handle = load_system(sys) loads the model sys into memory without opening the model in the Simulink® Editor. After you load a model into memory, you can work with it using Simulink API commands. Save changes to the model using save_system.
handle
sys
save_system
collapse all
Load the model vdp into memory and return the model handle.
vdp
h = load_system("vdp")
h = 172.0004
System to search, specified as the full system path name, a cell array of system path names, a handle, or a vector of handles.
Example: "vdp"
"vdp"
Example: 'MyModel/Subsystem1'
'MyModel/Subsystem1'
Example: {'vdp','fuelsys'}
{'vdp','fuelsys'}
Handle of loaded model.
close_system | open_system | save_system
close_system
open_system