How do I switch off and on the SimMechanics 2G Mechanics Explorer from command line?

I am running optimizations on SimMechanics 2G models. I know that I can switch off the Mechanics Explorer in Model Configuration Parameters under SimMechanics 2G-Explorer. Is there a way to do this from the command line, i.e. is there a set_param command I could use?

 採用された回答

Sebastian Castro
Sebastian Castro 2015 年 8 月 27 日
You want to type the following commands:
set_param('model_name','SimMechanicsOpenEditorOnUpdate','off');
set_param('model_name','SimMechanicsOpenEditorOnUpdate','on');
By the way, you can figure out the command-line name of any configuration parameter by right-clicking it and selecting "What's This?".
- Sebastian

その他の回答 (0 件)

カテゴリ

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

質問済み:

2015 年 8 月 27 日

回答済み:

2015 年 8 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by