How do I load a simulink model into memory without opening the model?

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.

 采纳的回答

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.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by