How can I set Stateflow Model Explorer properties in M-script?

5 vues (au cours des 30 derniers jours)
Shady Nada
Shady Nada le 22 Juin 2018
Modifié(e) : Shady Nada le 26 Juin 2018
In Simulink, Block-properties / handles can be viewed and set using the 'get_param' and 'set_param' commands, respectively. I would please like to know how to do so for Stateflow data (Model Explorer) using matlab script (i.e. in m-file).
>> Example: I have a Model "TestModel.mdl" which has a SF_chart in deeper layers: "TestModel/SubSystem_1/MyChart" for which I need to Add Data;
Name: PRES_C
Scope: Parameter
Type: Double

Réponse acceptée

Gayatri Menon
Gayatri Menon le 26 Juin 2018
  1 commentaire
Shady Nada
Shady Nada le 26 Juin 2018
Modifié(e) : Shady Nada le 26 Juin 2018
I thought this one was not submitted, hence I re-submitted the other one.
Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Stateflow 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