Open the Configuration Parameters window by using the command window

6 ビュー (過去 30 日間)
Denis Tiliacos
Denis Tiliacos 2012 年 5 月 11 日
コメント済み: Raja Subramani 2019 年 2 月 5 日
Hi,
I would like to know if it is possible to open the Configuration Parameters window of a Simulink model (menu : Simulation\Configuration Parameters)(Ctrl+E) by using the command window.
If it's not clear do not hesitate to ask me more details.
Thanks

採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 5 月 11 日
>> openDialog(getActiveConfigSet(gcs))
  4 件のコメント
Denis Tiliacos
Denis Tiliacos 2012 年 5 月 14 日
I tried what you advised me. I got this :
>> get(getActiveConfigSet(gcs))
Description: ''
Components: [7x1 Simulink.ConfigComponent]
Name: 'Configuration'
SimulationMode: 'normal'
Nothing that looks like "open".
But with this :
ActiveConfigSet=getActiveConfigSet(gcs);
SolverConfig = hCs.getComponent('Solver');
get(SolverConfig);
I can get every fields of the Configuration Parameters. This is better than nothing.
Thank you for your help.
Raja Subramani
Raja Subramani 2019 年 2 月 5 日
tnq so much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConfigure Simulation Conditions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by