主要内容

Create AUTOSAR Adaptive Software Architecture Model

R2026b

To begin developing AUTOSAR Adaptive software compositions and components in an architecture canvas, create an AUTOSAR Adaptive software architecture model (requires System Composer™).

In this example you create software architecture my_adaptive_BrakeControlSystem. To open a local working folder containing adaptive_BrakeControlSystem and the supporting files required to complete this tutorial, enter this command in your MATLAB® Command Window:

openExample("my_adaptive_BrakeControlSystem");

  1. To create a software architecture model configured for the AUTOSAR Adaptive Platform, perform one of these actions:

    • Open the Simulink® Start Page by entering the MATLAB command simulink.

      On the New tab, scroll down to AUTOSAR Blockset and expand the list of model templates. Place your cursor over the Software Architecture template and click Create Model.

      Simulink Start Page AUTOSAR Blockset section. Cursor hovers over Create Model button for the Software Architecture template option.

    • Enter this command in your MATLAB Command Window:

      arch = autosar.arch.createModel("my_adaptive_BrakeControlSystem",platform="Adaptive");

    A new AUTOSAR architecture model opens.

Next, add and connect AUTOSAR Adaptive software compositions and components and link software component models to define algorithmic behavior for each component.

See Also

Blocks

Objects

Functions

Topics