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

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