systemcomposer.arch.Architecture

Class that represents an architecture in an architecture model

Description

The Architecture class represents an architecture in the model. This class inherits from systemcomposer.base.BaseElement and implements the interface systemcomposer.base.BaseArchitecture.

Creation

Create an model and get the root architecture:

model = systemcomposer.createModel('archModel');
arch=get(model,'Architecture')

Properties

expand all

The architecture name is derived from the parent component or model name to which the architecture belongs.

Example: 'system_architecture'

The definition type can be a composition, a behavior model, or a view.

Example: Composition

Data Types: ArchitectureDefinition enum

Object Functions

addComponentAdd a component to the architecture
addVariantComponentAdd a component to the architecture
addPortAdd ports to architecture
connectConnect pairs of components

Introduced in R2019a