Main Content

removeSubModelConfiguration

Class: Simulink.VariantConfigurationData
Namespace: Simulink

(To be removed) Remove from a variant configuration, the configuration to be used for a referenced model

removeSubModelConfiguration will be removed in a future release. For more information, see Version History.

Syntax

vcdataObj.removeSubModelConfiguration(configName,nameOfSubModel)

Description

vcdataObj.removeSubModelConfiguration(configName,nameOfSubModel), removes the configuration specified for a referenced model.

Input Arguments

expand all

Name of referenced model configuration to be removed, specified as a character vector or string.

Example: "HighFidelityConfig"

Data Types: char | string

Name of referenced model from which the configuration must be removed, specified as a character vector or string.

Example: "ExternalPlantMdlRef"

Data Types: char | string

Version History

Introduced in R2013b

collapse all

R2022b: removeSubModelConfiguration will be removed

The removeSubModelConfiguration will be removed in a future release. Use the Simulink.VariantConfiguratonData.removeComponentConfigurationmethod instead.

For more information on setting up variant control variables for referenced components, see Referenced Component Configurations.