add state flow to simulink model

3 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by