How to use the .m file or MABLAB command to create a "CAN Pack" Block in a new simulink model(.slx)

1 回表示 (過去 30 日間)
天腾
天腾 2024 年 11 月 10 日
回答済み: Walter Roberson 2024 年 11 月 10 日
How to use the .m file or MABLAB command to create a "CAN Pack" Block in a new simulink model(.slx)

回答 (1 件)

Walter Roberson
Walter Roberson 2024 年 11 月 10 日
You would use
add_block('MdlBuilderLib/CAN Pack',SYSTEM_NAME,'Position',POSITION);
and you would configure it using set_param

カテゴリ

Help Center および File ExchangeEmbedded Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by