Class: Simulink.Mask
Package: Simulink
Create a mask on a Simulink block
p = Simulink.Mask.create(blockName)
creates
an empty mask on the block specified by p
= Simulink.Mask.create(blockName)blockName
.
If the specified block is already masked, an error message appears.
|
The handle to the block or the path to the block inside the model. |
Create a mask using a block’s handle.
Note
In the model, select the block to be masked.
p = Simulink.Mask.create(gcbh);
Create a mask using the block’s path.
p = Simulink.Mask.create('myModel/Subsystem');