Main Content

Author Architecture Models

R2026b
Represent architectures using components, ports, and connectors

Use System Composer™ to model the physical, functional, and logical architecture of a system by creating visual representations with components, ports, and connections. Components represent architectural systems or subsystems to be used in system design. You can decompose components to add detail and define hierarchical relationships, and you can reuse and reference components across composition models. To reuse architectural designs across components, convert to architecture model and subsystem references.

Add and edit intrinsic or operational parameters for architectural design on components and architectures using the Parameter Editor. Promote parameters from components contained in the model to a top-level architecture.

Blocks

Component blockComponentAdd components to architecture model
Port iconPortAdd ports to components in architecture model
Reference Component blockReference ComponentLink to architectural definition or Simulink behavior

Classes

systemcomposer.arch.ElementAll model elements
systemcomposer.arch.ArchitectureArchitecture in model
systemcomposer.arch.ModelSystem Composer model
systemcomposer.arch.BaseComponentAll components in architecture model
systemcomposer.arch.ComponentSystem Composer component
systemcomposer.arch.AdapterSystem Composer adapter (Since R2026a)
systemcomposer.arch.BasePortAll ports in architecture model
systemcomposer.arch.ArchitecturePortArchitecture port
systemcomposer.arch.ComponentPortComponent port
systemcomposer.arch.PortElementElement of port in System Composer model (Since R2026a)
systemcomposer.arch.BaseConnectorAll connectors in architecture model
systemcomposer.arch.ConnectorConnector between ports
systemcomposer.arch.PhysicalConnectorConnector between physical ports
systemcomposer.arch.ParameterParameter in System Composer (Since R2022b)

Functions

expand all

systemcomposer.createModelCreate System Composer model
systemcomposer.loadModelLoad System Composer model
systemcomposer.openModelOpen System Composer model
openOpen architecture model
saveSave architecture model or data dictionary
closeClose architecture model
createArchitectureModelCreate architecture model from component
createArchitectureSubsystemCreate architecture subsystem from component (Since R2023a)
linkToModelLink component to model
inlineComponentRemove reference architecture or behavior from component
systemcomposer.extractArchitectureFromSimulinkExtract architecture from Simulink model
systemcomposer.exportToAUTOSARArchitectureExport current model to new AUTOSAR architecture model (Since R2023b)
systemcomposer.exportToSoftwareArchitectureExport current model to new software architecture model (Since R2023b)
systemcomposer.exportToVersionExport architecture model and dependencies to previous release of System Composer
addComponentAdd components to architecture
getComponentGet component by name
addPortAdd ports to architecture
getPortGet port by name
getConnectorToFind connector between ports
setNameSet name for port
connectCreate architecture model connections
getShownGet whether connector is shown (Since R2026b)
setShownSet connector as shown or hidden (Since R2026b)
smartConnectAuto-connect select components in model using port names or custom policy (Since R2025a)
getUnconnectedPortsGet unconnected ports (Since R2025a)
getSmartConnectPolicyGet smart connect policy (Since R2025a)
setSmartConnectPolicySet smart connect policy (Since R2025a)
IsAdapterComponentDetermine component is adapter
setMaskImageApply mask image to component (Since R2023b)
currentGet object of currently selected element
getQualifiedNameGet model element qualified name
lookupSearch for architectural element
destroyRemove model element
addParameterAdd parameter to architecture (Since R2022b)
getParameterGet parameter from architecture or component (Since R2022b)
getParameterPromotedFromGet source parameter promoted from (Since R2022b)
resetToDefaultResets parameter value to default (Since R2022b)
getEvaluatedParameterValueGet evaluated value of parameter from element (Since R2022a)
getParameterNamesGet parameter names on element (Since R2022a)
getParameterValueGet value of parameter (Since R2022a)
setParameterValueSet value of parameter (Since R2022a)
setUnitSet units on parameter value (Since R2022a)
resetParameterToDefaultReset parameter on component to default value (Since R2022a)

Tools

Parameter EditorAdd, edit, and promote parameters for architectures and components (Since R2022b)

Topics

Featured Examples