Help CenterHelp Center
Determine the block that owns a mask
maskobj = Simulink.Mask.get(blockName)
maskobj.getOwner
example
maskobj = Simulink.Mask.get(blockName)gets the mask on the block specified by blockName as a mask object.
blockName
maskobj.getOwner returns the interface to the block that owns the mask.
collapse all
Get mask as an object using a masked block’s path.
maskobj = Simulink.Mask.get('myModel/Subsystem');
Get the interface to the block that owns the mask.
maskobj.getOwner;
Handle or path to the block inside the model, specified as a character vector.
Data Types: char | string
char
string
Introduced in R2014a
Simulink.mask | Create Block Masks
Simulink.mask
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office