MATLAB: How to load a simulink model into memory without opening the model

loadload_systemmemorymodelopensimulink

How can I load a Simulink model into memory without opening the model?
I want to be able to perform command line operations on a Simulink model without opening it.

Best Answer

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
You can do this using the LOAD_SYSTEM command.
For more information, type 'help load_system' at the MATLAB prompt. The documentation is provided below.
LOAD_SYSTEM Invisibly load a Simulink model.
LOAD_SYSTEM('SYS') loads the specified system without making the model window visible. If the specified system is 'built-in', no action is taken.