clear opened example models

8 次查看(过去 30 天)
mobin
mobin 2014-10-17
评论: Orion 2014-10-17
Hi
How can I clear every opened example Simulink model I've opened to restore defaults settings?

回答(2 个)

Orion
Orion 2014-10-17
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
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by