Switches all blocks referencing one user library to reference other user library.
Suppose I have a Simulink model MODEL which has blocks BLOCK_1...BLOCK_N that reference some user library USERLIB_OLD, I need to switch user library to USERLIB_NEW so that all block would new reference to it (and old library could be deleted, or renamed, for example). All that in a way that the SImulink model still functins.
So that's what this function does.
PS SHould work for ALL MATLAB releases.
Igal (2021). lib_switcher (https://www.mathworks.com/matlabcentral/fileexchange/58228-lib_switcher), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!