MATLAB Examples

Generate AUTOSAR Compliant Code from Embedded Coder

Model, configure, generate AUTOSAR compliant code and export xml files using Simulink® and Embedded Coder®. The Vehicle Speed and Odometer calculations example demonstrates this workflow. It features algorithms for Filterinput , UpdateOdometer, OverSpeedDiagnostic and StoreOdometerBeforeSleep in Simulink.

This video shows how to use Simulink® and Autosar Support Package to develop models for Software Components using Embedded Coder®. The runnables are configured using AUTOSAR Properties and Simulink-AUTOSAR Mapping Explorer from AUTOSAR Support Package.


Support Packages:

Installation Functions:

  • targetinstaller
  • targetupdater


% Download the attached file


% Copyright 2015 MathWorks, Inc.