setCondition

Set the condition on the variant choice

Description

setCondition(variantComponent,choice, expression) sets the variant control for a choice for the variant component.

Input Arguments

collapse all

Variant component with multiple choices.

Data Types: systemcomposer.arch.Component

The choice whose control string is set by this function.

Data Types: systemcomposer.arch.Component

The control string that controls the selection of the choice.

Introduced in R2019a