MATLAB: How to break all the library links in the Simulink model in Simulink 4.1 (R12.1)

blockbreakslibsimulink

How do I break all the library links in my Simulink model in Simulink 4.1 (R12.1)?

Best Answer

You can save a system and break all links between reference blocks and library blocks using this command:
save_system('sys', 'newname', 'BreakLinks')
For more information on the SAVE_SYSTEM function please type 'help save_system' at the MATLAB command window.