removeComponentConfiguration
Remove association between variant configurations of top-level model and referenced model
Since R2022b
Description
In a model that has predefined variant configurations and also has a referenced
model in its model hierarchy, the referenced model can define its own variant configurations.
While authoring the variant configurations for the top-level model, you can associate a
referenced model configuration with a top-level variant configuration to populate the
corresponding control variables in the top-level configuration. Use the
removeComponentConfiguration
function to remove this association. For
more information, see Compose Variant Configurations and Constraints for Top Model Using Referenced Component Configurations.
Note
This function requires Variant Manager for Simulink®.
removeComponentConfiguration(
removes an existing association between a variant configuration of the referenced model
vcdtop
,ConfigurationName=topconfig
,ComponentName=refmdl
)refmdl
and the top-level variant configuration
topconfig
that is present in the variant configuration data object
vcdtop
. This operation also makes variant control variables in
topconfig
populated using the referenced model configuration
writeable. You can modify these variables in topconfig
independently of
their values in the referenced model configuration.