makeVariant

Convert component to a variant choice

Description

[variantComp,choices] = makeVariant(components) converts components to variant choices and returns the parent component and available choices.

Input Arguments

collapse all

Architecture components to be converted to variants.

Data Types: systemcomposer.arch.Component

Output Arguments

collapse all

Component that contains the variants.

Choices available in the new variant.

Data Types: string

Introduced in R2019a