Main Content
getParameterConstraint
Class: Simulink.Mask
Namespace: Simulink
Get mask parameter constraint properties
Syntax
paramConstraint = maskObj.getParameterConstraint(paramConstraintName)
Description
gets the properties of a mask parameter constraint.paramConstraint
= maskObj
.getParameterConstraint(paramConstraintName
)
Input Arguments
Output Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Find parameters associated with the constraint. paramConstraint = maskObj.getParameterConstraint('const3')
ans = Constraints with properties: Name: 'const3' ConstraintRules: [1×2 Simulink.Mask.ParameterConstraintRules]
Version History
Introduced in R2018a