load
Class: Simulink.dialog.MaskPartReference
Namespace: Simulink.dialog
Syntax
maskPartRefObj.load
Description
maskPartRefObj.load
loads the XML file in a mask part reference
container. maskPartRefObj
stores the parameters and dialog controls. The
XML file is specified in the FileName
property of maskPartRefObj
.
The mask part reference object is created by adding the mask part reference container using the mask object. The mask part reference container in the Mask Editor helps to create and save parameters and dialog controls in an XML file. These saved parameters and dialog controls are referred to and reused across multiple masked blocks.
Examples
Alternatives
Use the Mask Editor UI to load the mask part reference XML file.
Version History
Introduced in R2024b