open simulink project without opening all tabs

5 ビュー (過去 30 日間)
Nigel Holmes
Nigel Holmes 2019 年 3 月 28 日
回答済み: Aniket 2025 年 1 月 30 日
My Simulink project has previously been saved with too many open tabs.
The project will not now reopen because the PC runs out of memory trying to open all the previously open tabs (Matlab crashes)
How can I re-open my project without reopening all the tabs which were previously open when I saved the project?
Thanks.

回答 (1 件)

Aniket
Aniket 2025 年 1 月 30 日
You can open your Simulink Project without opening tabs by using the "load_system" function. This function loads a Simulink model, without opening any previously openened subsytem or model tabs. Once model is loaded, it can be opened by setting the appropriate parameters in MATLAB command window like shown below:
>> sys = load_system('<model>');
>> set_param(sys, 'Open', 'on');
You can find more details regarding the "load_system" and "set_param" using the following documentations:

カテゴリ

Help Center および File ExchangeCreate Large-Scale Model Components についてさらに検索

タグ

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by