Filter löschen
Filter löschen

add state flow to simulink model

2 Ansichten (letzte 30 Tage)
wenchao zhang
wenchao zhang am 6 Sep. 2023
Beantwortet: wenchao zhang am 6 Sep. 2023
when i use following command, try to add chart to simulnik model, error happens, how to resolve this
add_block('Stateflow/Chart',...
[ModelName '/' FunctionName '/' 'ScheduleChart'],'Position',BlockPosition);

Akzeptierte Antwort

wenchao zhang
wenchao zhang am 6 Sep. 2023
use this command works:
add_block('sflib/Chart',...
[ModelName '/' FunctionName '/' 'ScheduleChart'],'Position',BlockPosition);

Weitere Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by