Main Content

removeAllParameterConditions

Removes all parameter conditions from constraint

Since R2022a

Syntax

consObj.removeAllParameterConditions

Description

consObj.removeAllParameterConditions removes all the parameter conditions from the constraint.

Examples

Add parameter condition.

consObj=amaskObj.getPortConstraint('pc1')
consObj.addParameterCondition('Name','p1','Values',{'10','20'})

Remove parameter condition.

consObj.removeAllParameterCondition
consObj.getParameterCondition('p1')

Version History

Introduced in R2022a