Open the Configuration Parameters window by using the command window

7 views (last 30 days)
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

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 11 May 2012
>> openDialog(getActiveConfigSet(gcs))
  4 Comments
Denis Tiliacos
Denis Tiliacos on 14 May 2012
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Configure Simulation Conditions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!