clear opened example models

Hi
How can I clear every opened example Simulink model I've opened to restore defaults settings?

回答 (2 件)

Orion
Orion 2014 年 10 月 17 日

0 投票

Hello
to close all system :
bdclose('all')

1 件のコメント

mobin
mobin 2014 年 10 月 17 日
Thanks friend but this didn't restore default settings.

サインインしてコメントする。

Orion
Orion 2014 年 10 月 17 日

0 投票

What exactly do youo want to restore?
if this is just one property, open the Simulink Library Browser, then File->Preferences, and find and change what you want.
If you want to restore all default preferences, maybe this will help : restore pref

2 件のコメント

mobin
mobin 2014 年 10 月 17 日
for more information: I was experimenting code generation on 'sldemo Concurrent Execution' example but I propagated a configSet to all reference models (Plant,Contr A&B,etc.) but it was a wrong move because they had different configs and now the model won't build anymore.
I thought mathworks is wise enough to not to let me change the examples configurations permanently!
Orion
Orion 2014 年 10 月 17 日
Ok, so it's not really the defaults settings you want, but the default demo models.
I must admit that I never faced this issue. But in this case, you could ask directly to mathworks how to restore the demo model.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

質問済み:

2014 年 10 月 17 日

コメント済み:

2014 年 10 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by