Main Content
removeParameterConstraintRule
Class: Simulink.Mask.Constraints
Namespace: Simulink.Mask
Delete a mask parameter constraint rule
Syntax
paramConstraint.removeParameterConstraintRule(RuleIndex)
Description
deletes the specified constraint rule from a mask parameter constraint.paramConstraint
.removeParameterConstraintRule(RuleIndex
)
Input Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get mask constraint handle. paramConstraint = maskObj.getParameterConstraint('const3'); % Remove mask constraint rule. paramConstraint.removeParameterConstraintRule(1)
Version History
Introduced in R2018a