How to close Save PoP Up Box using matlab command?

6 ビュー (過去 30 日間)
Avik nayak
Avik nayak 2020 年 4 月 25 日
回答済み: Harshendra Shah 2020 年 4 月 29 日
Hi
While writing a matlab pgm ,,I get a "Save" PoP up .Is there any comand to close it programatically without saving.
thanks

回答 (1 件)

Harshendra Shah
Harshendra Shah 2020 年 4 月 29 日
Hello Avik,
I think this popup is occuring while you are trying to close the simulink model 'dMultiSelection.slmx'.
You can use the 'close_system' command with 'saveflag' value of 0 to close the model without saving.
>> close_system('dMultiSelection', 0)
You can refer to the following link for the same:
Also go through the following example on 'Managing Requirements Without Modifying Simulink Model Files':
I hope this helps.

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by