setActiveChoice
Set active choice on variant component
Description
setActiveChoice(
sets the active choice on the variant component.variantComponent,choice)
Examples
Input Arguments
More About
Version History
Introduced in R2019a
See Also
Blocks
Objects
Functions
addChoice|addVariantComponent|getActiveChoice|getChoices|getCondition|makeVariant|makeVariantAssembly|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