Main Content
getParameter
Class: Simulink.Mask
Namespace: Simulink
Get mask parameter by name
Syntax
param = maskObj.getParameter(paramName)
Description
returns an array of mask parameters.param
= maskObj.getParameter(paramName
)
Input Arguments
Examples
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');
Version History
Introduced in R2014a