getModelVariantControl
Get code configuration from code mappings for
Simulink.VariantControl
object
Since R2025a
Description
returns the value of a code mapping property or calibration property for the specified
propertyValue
= getModelVariantControl(codeMappingObj
,variantControl
,property
)Simulink.VariantControl
object. Use this function to return the storage class or
the calibration access of a calibration property configured for the variant control.
Specifying code generation attributes for a Simulink.VariantControl
object
using code mappings is supported when the object is defined in the model workspace and its
Value
property is set to a Simulink.Parameter
object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a