How do I break all the library links in my Simulink model?
111 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 24 Oct 2023
How do I break all the library links in my Simulink model?
Accepted Answer
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing 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!