Main Content

removeParameterConstraint

Class: Simulink.Mask
Package: Simulink

Delete a mask parameter constraint

Syntax

maskObj.removeParameterConstraint(paramConstraint)

Description

maskObj.removeParameterConstraint(paramConstraint) deletes the specified mask parameter constraint.

Input Arguments

expand all

Handle to the block mask, specified as mask object. You can use the Simulink.Mask.get command to get the block mask handle. For more information, see Simulink.Mask.get.

Data Types: char | cell

Name of the mask parameter constraint to be deleted, specified as character vector.

Examples

% Get block mask handle.
maskObj = Simulink.Mask.get(gcb); 

% Remove mask constraint with name 'const1'.
maskObj.removeParameterConstraint('const1')
Introduced in R2018a