Create a model, get the root architecture, create a one variant
component, add two choices for the variant component, and get the first choice.
ans =
Component with properties:
IsAdapterComponent: 0
Architecture: [1×1 systemcomposer.arch.Architecture]
Name: 'Choice1'
Parent: [1×1 systemcomposer.arch.Architecture]
Ports: [0×0 systemcomposer.arch.ComponentPort]
OwnedPorts: [0×0 systemcomposer.arch.ComponentPort]
OwnedArchitecture: [1×1 systemcomposer.arch.Architecture]
Position: [15 15 65 65]
Model: [1×1 systemcomposer.arch.Model]
SimulinkHandle: 99.0010
SimulinkModelHandle: 94.0002
UUID: '533d7f63-41e2-40fd-afe8-d081729849f0'
ExternalUID: ''