removeReferencedConfiguration
R2026bRemove association between variant configurations of top-level model and referenced model
Renamed from removeComponentConfiguration in R2026b
Syntax
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
removeReferencedConfiguration function to remove this association. For
more information, see Compose Variant Configurations and Constraints for Top Model Using Referenced Configurations.
removeReferencedConfiguration(
removes an existing association between a variant configuration of the referenced model
vcoTop,ConfigurationName=topConfig,ReferencedComponentName=refMdl)refMdl and the top-level variant configuration
topConfig that is present in the variant configurations object
vcoTop. This operation also makes variant control variables in
topConfig populated using the referenced model configuration
writable. You can modify these variables in topConfig independently of
their values in the referenced model configuration.