VariantConfigurationData

Class: Simulink.VariantConfigurationData
Package: Simulink

Object constructor with optional arguments for variant configurations, constraints, and default configuration name

Syntax

vardataObj = Simulink.VariantConfigurationData(variantConfigurations)

Description

vardataObj = Simulink.VariantConfigurationData(variantConfigurations), constructor that creates an empty variant configuration data object. Optionally, can also accept constraints and a default configuration name as inputs.

Input Arguments

variantConfigurations

Configurations that are part of the variant configuration data object.

constraints

Constraints to be satisfied by the model.

defaultConfigurationName

Name of the default configuration

Examples

% Create an empty variant configuration data object
vcdataObj = Simulink.VariantConfigurationData