Create AUTOSAR Architecture Models
R2026bAn AUTOSAR architecture model provides resources and a canvas for developing AUTOSAR composition and component models (requires System Composer™). You can create software architecture models configured for the AUTOSAR Classic Platform or for the AUTOSAR Adaptive Platform. From an AUTOSAR software architecture model, you can perform these tasks:
Create Simulink® representations of an AUTOSAR software component or composition from AUTOSAR XML (ARXML) descriptions.
Assemble AUTOSAR software compositions and components in an architecture canvas.
Add Simulink behavior to components by creating or linking models.
View component or composition dependencies.
Link components to requirements (requires Requirements Toolbox™).
Configure scheduling and simulation.
Some capabilities depend on the configured AUTOSAR platform. This table lists the modeling and configuration capabilities for each AUTOSAR platform:
| Capability | Classic Platform | Adaptive Platform |
|---|---|---|
| Quality-of-Service (QoS) configuration | Model IsUpdated and ErrorStatus
ports. | Develop and refine software component service interfaces by configuring service properties such as status elements, status arguments, timeout, data-triggered execution, and others. |
| Simulation | Validate software composition behavior in a simplified Runtime Environment (RTE). | Validate software composition behavior with architecture simulations in a simplified AUTOSAR Runtime for Adaptive Applications (ARA). |
| Deployment | N/A | Configure network bindings for all software components referenced by the architecture. For each software component, configure deployment properties depending on the selected middleware for the architecture. |
| Code generation and ARXML export (requires Embedded Coder®) |
|
|
| Verification | Verify generated C component code with software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations. | Verify generated C++ component code with software-in-the-loop (SIL) simulations. |
Architecture models provide an end-to-end AUTOSAR software design workflow. In Simulink, you can author a high-level application design for AUTOSAR Classic or Adaptive Platform architectures, implement behavior for application components, and simulate the application. For AUTOSAR Classic software architecture compositions, you can add Basic Software (BSW) service calls and service implementations.
To create an architecture model, open an AUTOSAR Blockset model template from the Simulink Start Page.
Open the Simulink Start Page. Enter the MATLAB®
simulinkcommand or create a new model from the Simulink Toolstrip.On the New tab, scroll down to AUTOSAR Blockset and expand the list of model templates. On the Software Architecture template, click Create Model.

A new AUTOSAR architecture model opens.
Choose your AUTOSAR platform. On the Modeling tab of the toolstrip, in the Platform section, select Classic Platform or Adaptive Platform. Mixing AUTOSAR Classic and Adaptive components in the same architecture model is not supported.
Explore the controls and content in the software architecture canvas.
In the Simulink Toolstrip, the Modeling tab supports common tasks for architecture modeling, such as adding Component or Composition blocks to the architecture canvas.
To the left of the model window, the palette includes icons for adding different types of AUTOSAR components to the model.
For an AUTOSAR Classic software architecture model, you can click icons for creating these blocks: Classic Component, Software Composition, and for Basic Software (BSW) modeling, Diagnostic Service Component and NVRAM Service Component
For an AUTOSAR Adaptive software architecture model, you can click icons for creating these blocks: Adaptive Component, Software Composition, and Variant Component
The composition editor provides a view of AUTOSAR software architecture based on the AUTOSAR Virtual Function Bus (VFB). The model canvas is initially empty.
After you create an AUTOSAR architecture model, develop the top level of the design. See Add and Connect AUTOSAR Components and Compositions.
See Also
Classic Component | Adaptive Component | Software Composition | Diagnostic Service Component | NVRAM Service Component