Convert component to variant choice
[variantComp,choices] = makeVariant(components)
[variantComp,choices] = makeVariant(components) converts components to variant choices and returns the parent component and available choices.
variantComp
choices
components
collapse all
Architecture components to be converted to variants, specified as an array of systemcomposer.arch.Component objects.
systemcomposer.arch.Component
Component containing variants, returned as a systemcomposer.arch.VariantComponent object.
systemcomposer.arch.VariantComponent
Variant choice names, returned as a cell array of character vectors.
Data Types: char
char
addChoice | addVariantComponent | getChoices
addChoice
addVariantComponent
getChoices