Can we run simulink by m file when simulink interface is not opened
3 ビュー (過去 30 日間)
古いコメントを表示
ı want to run a simulink file by m file .So, ı use 'sim' command.
but when ı use it , simulink interface is opened.
Can we run simulink by m file when simulink interface is not opened
0 件のコメント
採用された回答
Teja Muppirala
2013 年 3 月 7 日
Yes, you can use the LOAD_SYSTEM command to load the model into memory without bringing up the Simulink interface, for example:
>> model = 'sldemo_househeat';
>> load_system(model)
>> sim(model)
その他の回答 (2 件)
Azzi Abdelmalek
2013 年 3 月 7 日
編集済み: Azzi Abdelmalek
2013 年 3 月 7 日
Yes you can do it, without even loading or opening your model
1 件のコメント
Teja Muppirala
2013 年 3 月 7 日
Hey, yeah, you're right, SIM automatically loads it. I didn't know that before.
Abdullah Tahir
2014 年 5 月 13 日
Can you please tell how to pause and resume the Matlab simulation from script file?
1 件のコメント
Abhishek Krishna
2018 年 7 月 1 日
Add Breakpoint at the place where you want to pause. And forward it step by step
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!