Main Content

removeAllParameterConstraints

Class: Simulink.Mask
Namespace: Simulink

Delete all mask parameter constraints

Syntax

maskObj.removeAllParameterConstraints

Description

maskObj.removeAllParameterConstraints deletes all the parameter constraints from a mask.

Input Arguments

expand all

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

Examples

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

% Remove all constraints from the mask.
maskObj.removeAllParameterConstraints()

Version History

Introduced in R2018a