Class: Simulink.VariantConfigurationData
Package: Simulink
Remove a variant configuration with a given name from the variant configuration data object
vcdataObj.removeConfiguration(nameOfConfiguration)
vcdataObj.removeConfiguration(
removes
the configuration from the variant configuration data object.nameOfConfiguration
)
|
Name of the configuration to be removed. |
% Define the variant configuration data object vcdataObj = Simulink.VariantConfigurationData; % Add the LinInterExp variant configuration % to the variant configuration data object vcdataObj.addConfiguration('LinInterExp',... 'Linear Internal Experimental Plant Controller'); % Remove the LinInterExp configuration % from the variant configuration data object vcdataObj.removeConfiguration('LinInterExp')