addSubModelConfigurations
(To be removed) Add to a variant configuration the names of the configurations to be used for referenced models
addSubModelConfigurations
will be removed in a future release. Use addComponentConfiguration
instead. (since R2022b) For information on updating your
code, see Version History.
Description
addSubModelConfigurations(
associates a variant configuration in varconfigdata
,configName
,subModelConfigs
)varconfigdata
with the
configurations that must be used for referenced models. varconfigdata
is a Simulink.VariantConfigurationData
object and
represents the variant configuration object of the parent model.
subModelConfigs
specifies names of the variant configurations to be
used for referenced models.