Class: Simulink.Mask
Package: Simulink
Get a block mask as a mask object
p = Simulink.Mask.get(blockName)
gets
the mask on the block specified by p
= Simulink.Mask.get(blockName)blockName
as
a mask object. If the specified block is not masked, a null value
returns.
|
The handle to the block or the path to the block inside the model. |
Get mask as an object using a masked block’s handle.
Note
In the model, select the masked block.
p = Simulink.Mask.get(gcbh);
Get mask as an object using a masked block’s path.
p = Simulink.Mask.get('myModel/Subsystem');