Author Architecture Models

Represent system architecture using components, ports, and interfaces

Model physical and logical architecture of a system. An interface defines the type, dimensions, units, and structure of the data. You can define interfaces saved with the model, or in a data dictionary to be used across models.

Create a visual representation with components, ports, and connections; specify information exchange between components with interfaces.

Decompose components to add detail and define hierarchical relationships. Use different architecture views to analyze component dependencies and hierarchy. Share components and interfaces with other models.

Blocks

ComponentAdd component to an architecture model
Reference ComponentLink to an architectural definition or Simulink behavior
Variant ComponentAdd components with alternative designs
AdapterConnect components with different interfaces

Classes

expand all

systemcomposer.arch.ElementBase class of all model elements
systemcomposer.arch.ArchitectureClass that represents an architecture in an architecture model
systemcomposer.arch.ModelRepresent a System Composer model
systemcomposer.arch.BaseComponentCommon base class for all components in an architecture model
systemcomposer.arch.ComponentClass that represents a component or view component
systemcomposer.arch.VariantComponentRepresent a variant component in a System Composer model
systemcomposer.arch.BasePortCommon base class for all ports in an architecture model
systemcomposer.arch.ArchitecturePortRepresent input and output ports of an architecture
systemcomposer.arch.ComponentPortRepresent input and output ports of a component
systemcomposer.arch.ConnectorClass that represents a connector between ports
systemcomposer.interface.DictionaryClass that represents an element in the signal interface
systemcomposer.interface.SignalElementClass that represents an element in the signal interface
systemcomposer.interface.SignalInterfaceClass that represents the structure of the signal interface

Functions

expand all

loadModelLoad architecture model
openOpen System Composer model
openModelOpen a System Composer architecture model
getPortGet the port from a component
getEvaluatedPropertyValueGet evaluated value of property from component
openViewsOpen architecture views editor
saveSave the architecture model or data dictionary
findFind architecture elements using a query
closeClose System Composer model
addComponentAdd a component to the architecture
addPortAdd ports to architecture
connectConnect pairs of components
createModelCreate a System Composer model
createViewArchitectureCreate a view
destroyRemove and destroy a model element
lookupLook up an architecture element
addChoiceAdd a variant choice to a variant component
addVariantComponentAdd a component to the architecture
getActiveChoiceGet the active choice on the variant component
getChoicesGet available choices in the variant component
getConditionReturn the variant control on the choice within the variant component
makeVariantConvert component to a variant choice
setActiveChoiceSet the active choice in the variant component
setConditionSet the condition on the variant choice
systemcomposer.createDictionaryCreate data dictionary
linkDictionaryLink data dictionary to an architecture model
unlinkDictionaryUnlink dictionary from a model
addInterfaceCreate a named interface in an interface dictionary
removeInterfaceRemove a named interface from an interface dictionary
getInterfaceGet the object for a named interface in an interface dictionary
getInterfaceNamesGet the object for a named interface in an interface dictionary
addElementAdd a signal interface element
removeElementRemove a signal interface element
getElementGet the object a signal interface element
destroyRemove and destroy a model element
saveAsModelSave the Architecture to a separate model
linkToModelLink component to a model
inlineComponentInline reference architecture into model

Topics

Compose Architecture Visually

Create architecture models using built-in model element types, such as components, ports, and connections.

Decompose and Reuse Components

Configure components for reuse across models.

Define Interfaces

Specify interfaces between components with data types, dimensions, and units.

Assign Interfaces to Ports

Associate a port with an interface using the Property Inspector.

Save and Link Interfaces

Use interface definitions across models.

Interface Adapter

Map similar interfaces between ports.

Create Spotlight Views

View components in the context of the entire architecture.

Build an Architecture Model from Command Line

Programmatically build an architecture model.

Featured Examples