How to run Simulink command without opening those model windows?
20 ビュー (過去 30 日間)
古いコメントを表示
I'm working on the project that request running those Matlab/Simulink command such like 'open_system()', 'model([],[],[],'compile')' in the cmd command window. So how to run it without throwing out the model windows the matlab window? I've tried '-automation -nodesktop'. But doesn't work. Thanks a lot!
2 件のコメント
Fangjun Jiang
2011 年 12 月 12 日
You don't want to show the Simulink model window, or the MATLAB Command Window?
採用された回答
Kaustubha Govind
2011 年 12 月 12 日
Use load_system instead of open_system.
After you finish with the model, use close_system to unload the model from memory.
2 件のコメント
Rahul Shinde
2019 年 7 月 10 日
I am facing error while running sim command
Harness operations are not supported because MATLAB was started with -nodisplay option. Please restart MATLAB without this option to enable harness operations.Do you have any solution for above mentioned issue
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!