getCondition
Return variant control on choice within variant component
Description
gets the variant control condition for the choice expression = getCondition(variantComponent,choice)choice on the variant
component variantComponent to choose the active variant choice. If the
condition is met on a variant choice, that variant choice becomes the active choice on the
variant component.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2019a
See Also
Blocks
Objects
Functions
addChoice|addVariantComponent|getActiveChoice|getChoices|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