MATLAB Answers

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

20 views (last 30 days)
Shady Nada
Shady Nada on 22 Jun 2018
Edited: Shady Nada on 26 Jun 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


Sign in to comment.

More Answers (0)

Sign in to answer this question.