Main Content

removeCrossParameterConstraint

Class: Simulink.Mask
Namespace: Simulink

Delete a cross-parameter constraint

Syntax

maskObj.removeCrossParameterConstraint(CrossConstraint)

Description

maskObj.removeCrossParameterConstraint(CrossConstraint) deletes the specified cross-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 cross-constraint to be removed, specified as character vector.

Examples

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

% Remove cross-constraint of name 'const1'.
maskObj.removeCrossParameterConstraint('const1')

Version History

Introduced in R2018a