add state flow to simulink model

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);

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Schedule Model Components 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by