Class: Simulink.Mask
Package: Simulink
Determine the block that owns a mask
p = Simulink.Mask.get(blockName)
p.getOwner
gets
the mask on the block specified by p
= Simulink.Mask.get(blockName)blockName
as
a mask object.
returns
the interface to the block that owns the mask.p
.getOwner
|
The handle to the block or the path to the block inside the model. |
Get mask as an object using a masked block’s path.
p = Simulink.Mask.get('myModel/Subsystem');
Get the interface to the block that owns the mask.
p.getOwner;