how can I unlock a library file (not a library block) by command line? for example, open a myLib.slx file and need to edit. The first thing need to do is to unlock this model. So Simulink will show: Attempt to modify 'untitledLib', which is or is in a locked library. The action performed requires you to unlock this library.So I need to hit * unlock this library. but i want to do this by command line. it seems set_param(gcb, 'Lock', 'off'); set_param(gcb, 'LinkStatus', 'inactive') are not works.
MATLAB: How can I unlock a library file (not a library block) by command line.
simulinkunlock a library file
Related Question
- How to unlink a Simulink library block from the Simulink model at the MATLAB command prompt
- Distinguish MATLAB Library & Custom Library
- Is it possible to create a library like the Simulink library, in which the block links are broken automatically
- Update library repository for simulink custom library
- Restoring library links
- Unable to unlock simulink library blocks
Best Answer