clear opened example models

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

回答(2 个)

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

1 个评论

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 个评论

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!
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 Exchange 中查找有关 Simulink 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