addChoice
Add variant choices to variant component
Syntax
Description
creates variant choices specified in compList = addChoice(variantComponent,choices)choices in the specified variant
component and returns their handles.
creates variant choices specified in compList = addChoice(variantComponent,choices,labels)choices with labels
labels in the specified variant component and returns their
handles.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2019a
See Also
Blocks
Objects
Functions
addVariantComponent|getActiveChoice|getChoices|getCondition|makeVariant|makeVariantAssembly|setActiveChoice|setCondition|updatePortsFromChoices
Topics
- Overview of System Composer API
- Create Variant Components in Label Mode
- Decompose and Reuse Components
- Calculate Endurance Using Quadcopter Architectural Design
- Design Insulin Infusion Pump Using Model-Based Systems Engineering
- Add or Remove Variant Choices of Variant Assembly Component Blocks Using External File