Class: Simulink.Mask
Package: Simulink
Get a mask parameter using its name
p = Simulink.Mask.get(blockName)
param = p.getParameter(paramName)
gets
the mask on the block specified by p
= Simulink.Mask.get(blockName)blockName
as
a mask object.
returns an array
of mask parameters.param
= p.getParameter(paramName)
|
The handle to the block or the path to the block inside the model. |
|
The name of the parameter you want to get. |
Get mask as an object using a masked block’s path.
p = Simulink.Mask.get('myModel/Subsystem');
Get a mask parameter by using its name.
param = p.getParameter('intercept');