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

16 ビュー (過去 30 日間)
天腾 关
天腾 关 2024 年 11 月 10 日 3:56
回答済み: Walter Roberson 2024 年 11 月 10 日 4:14
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 日 4:14
You would use
add_block('MdlBuilderLib/CAN Pack',SYSTEM_NAME,'Position',POSITION);
and you would configure it using set_param

Community Treasure Hunt

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

Start Hunting!

Translated by