Main Content
unlock
Class: Simulink.dialog.MaskPartReference
Namespace: Simulink.dialog
Syntax
maskPartRefObj.unlock
Description
maskPartRefObj.unlock
enables editing contents of the mask part
reference container maskPartRefObj
. A mask part reference container saves
parameters and dialog controls in an XML file. The XML file is referred to and reused across
multiple block masks. Locking the mask part reference container after saving the mask prevents
accidental changes from being propagated to the XML file. Unlock it to edit the contents of
the mask part reference container.
Examples
Alternatives
Use the Mask Editor UI to unlock the mask part reference container.
Version History
Introduced in R2024b