getCondition

Return the variant control on the choice within the variant component

Description

expression = getCondition(variantComponent,choice) returns the variant control on the choice within the variant component.

Input Arguments

collapse all

Variant component with multiple choices.

Data Types: systemcomposer.arch.Component

The choice whose control string is returned by this function.

Data Types: systemcomposer.arch.Component

Output Arguments

collapse all

The control string that controls the selection of the particular choice.

Introduced in R2019a