https://de.mathworks.com/help/slcheck/ref/simulink.clonedetection.settings.removelibraries.html
Simulink.CloneDetection.Settings.removeLibraries - Remove library - MATLAB
This MATLAB function removes the library file from cloneDetectionSettings object.
simulinksettingsremovelibrarymatlab