Open the Configuration Parameters window by using the command window

8 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 11 Mai 2012
>> openDialog(getActiveConfigSet(gcs))
  4 commentaires
Denis Tiliacos
Denis Tiliacos le 14 Mai 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.
Raja Subramani
Raja Subramani le 5 Fév 2019
tnq so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by