Main Content

getParameterCondition

Returns parameter condition associated with constraint

Since R2022a

Syntax

consObj.getParameterCondition(parameterName)

Description

consObj.getParameterCondition(parameterName) displays the parameter name and its values.

Input Arguments

expand all

Name of the masked parameter specified, as a character vector or string.

Data Types: char | string

Examples

consObj.addParameterCondition('Name','p1','Values',{'10','20'})
consObj.getParameterCondition('p1')
ans = 

  ParameterCondition with properties:

      Name: 'p1'
    Values: {2×1 cell}

Version History

Introduced in R2022a