Main Content
getAssociatedParametersOfConstraint
Class: Simulink.Mask
Namespace: Simulink
Get mask parameters associated with a constraint
Syntax
maskParam = maskObj.getAssociatedParametersOfConstraint(paramConstraintName)
Description
gets the parameters that are associated with a mask constraint.maskParam
= maskObj
.getAssociatedParametersOfConstraint(paramConstraintName
)
Input Arguments
Output Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Find parameters associated with the constraint. maskParam = maskObj.getAssociatedParametersOfConstraint('const3')
ans = 1×1 cell array {'Parameter1'}
Version History
Introduced in R2018a