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

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

채택된 답변

Gayatri Menon
Gayatri Menon 2018년 6월 26일
  댓글 수: 1
Shady Nada
Shady Nada 2018년 6월 26일
편집: Shady Nada 2018년 6월 26일
I thought this one was not submitted, hence I re-submitted the other one.
Thanks!

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by