Class: Simulink.Mask
Package: Simulink
Determine the number of parameters in a mask
p = Simulink.Mask.get(blockName)
p.numParameters
gets
the mask on the block specified by p
= Simulink.Mask.get(blockName)blockName
as
a mask object.
returns
the number of parameters in the mask.p
.numParameters
|
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 number of parameters in the mask.
p.numParameters;