Open the Configuration Parameters window by using the command window

조회 수: 6 (최근 30일)
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by