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

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

Answers (1)

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

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!