Simulink.Mask.create
Class: Simulink.Mask
Package: Simulink
Create a mask on a Simulink block
Syntax
p = Simulink.Mask.create(blockName)
Description
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.
Input Arguments
|
The handle to the block or the path to the block inside the model. |
Examples
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');