How do I break all the library links in my Simulink model?

111 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Oct 2023
Edited: MathWorks Support Team on 24 Oct 2023
You can save a system and replace links to library blocks with copies of the library blocks using the "save_system" command:
>> save_system('myModel', 'newname', 'BreakAllLinks', true);
This option affects user-defined blocks and Simulink library blocks.
For more information regarding the "save_system" command, see our documentation at:

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!