add state flow to simulink model

3 ビュー (過去 30 日間)
wenchao zhang
wenchao zhang 2023 年 9 月 6 日
回答済み: wenchao zhang 2023 年 9 月 6 日
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 Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by