Hauptinhalt

Develop AUTOSAR Software Component Model

Prerequisites

This tutorial assumes that you are familiar with the basics of the AUTOSAR standard and Simulink®. The code generation portion of this tutorial assumes that you have knowledge of Embedded Coder® basics. For more information about the AUTOSAR standard, seeWhat Is AUTOSAR?

To complete this tutorial, you must have:

  • MATLAB®

  • Simulink

  • AUTOSAR Blockset

An optional part of the tutorial requires Simulink Coder™ and Embedded Coder software.

Example Model

The tutorial uses example models swc and autosar_swc. To open a local working folder that contains these models enter this command in your MATLAB Command Window:

 openExample("autosarblockset/GettingStartedWithAUTOSARCodeGenerationExample");

Top level view of example model autosar_swc.

What You Will Learn

You will learn how to:

  1. Create algorithmic model content that represents AUTOSAR software component behavior.

  2. Configure elements of an AUTOSAR software component for the Simulink modeling environment.

  3. Simulate the AUTOSAR software component.

  4. Optionally, generate AUTOSAR software component code.

To start the tutorial, see Create Algorithmic Model Content That Represents AUTOSAR Software Component Behavior.