removeControlVariable
R2026bRemove variant control variable from variant configuration
Syntax
Description
removeControlVariable(
removes the variant control variable named varConfigs,ConfigurationName=configName,ControlVariableName=ctrlVarName)ctrlVarName from the
configuration configName present in the Simulink.VariantConfigurations object
varConfigs.
removeControlVariable(___,ControlVariableSource=
allows you to specify the name of the data source where the control variable is defined in
addition to the input arguments in the previous syntax. Use this syntax if multiple control
variables with the same name exist in different sources.ctrlVarSource)