Main Content

removeParameterCondition

Removes specified parameter condition on constraint

Since R2022a

Syntax

consObj.removeParameterCondition(parameterName)

Description

consObj.removeParameterCondition(parameterName) removes the specified parameter condition from the constraint.

Input Arguments

expand all

Name of the masked parameter to be removed from the constraint, specified as a character vector.

Data Types: string

Example

Add parameter condition.

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

Remove parameter condition

consObj.removeParameterCondition('p1')
consObj.getParameterCondition('p1')
Parameter condition for parameter name 'p1' 
not present in port constraint 'pc1'.

Version History

Introduced in R2022a