Main Content

Develop AUTOSAR Adaptive Software Architecture Model

R2026b

Prerequisites

This tutorial assumes that you are familiar with the AUTOSAR standard, Simulink®, and the fundamentals of code generation with Embedded Coder® software. For more information about the AUTOSAR standard, see What Is AUTOSAR?

To complete this tutorial, you must have MATLAB® and Simulink and licenses for Embedded Coder, AUTOSAR Blockset, and System Composer™.

Example Model

The tutorial uses example model adaptive_BrakeControlSystem and several supporting models that implement AUTOSAR Adaptive software component behavior. To open these models enter this command in your MATLAB Command Window:

openExample("autosarblockset/AuthorAUTOSARBrakeControlExample");

AUTOSAR Adaptive software architecture model showing Sensors composition, Controller, Actuator, and Speedometer components with connected ports

What You Will Learn

You will learn how to:

  1. Create an AUTOSAR Adaptive software architecture for developing software compositions and components configured for the AUTOSAR Adaptive Platform.

  2. Programmatically add and connect AUTOSAR compositions and components and define their algorithmic behavior.

  3. Configure AUTOSAR Adaptive software component port interfaces for code generation by using Simulink data dictionaries.

  4. Validate AUTOSAR Adaptive software composition behavior with software architecture simulations.

  5. Configure deployment properties, including middleware configurations for DDS or SOME/IP.

  6. Export composition and component AUTOSAR XML (ARXML) files and generate service implementation and algorithm C++ code for each software component referenced by an AUTOSAR software architecture model. (Requires Embedded Coder)

To start the tutorial, see Create AUTOSAR Adaptive Software Architecture Model.

See Also

Topics