clear opened example models

4 views (last 30 days)
mobin
mobin on 17 Oct 2014
Commented: Orion on 17 Oct 2014
Hi
How can I clear every opened example Simulink model I've opened to restore defaults settings?

Answers (2)

Orion
Orion on 17 Oct 2014
Hello
to close all system :
bdclose('all')
  1 Comment
mobin
mobin on 17 Oct 2014
Thanks friend but this didn't restore default settings.

Sign in to comment.


Orion
Orion on 17 Oct 2014
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 Comments
mobin
mobin on 17 Oct 2014
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 on 17 Oct 2014
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.

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!