Main Content

Component Development

Develop AUTOSAR adaptive software components and service communication; use programmatic interfaces; apply modeling checks

After creating a Simulink® representation of an AUTOSAR adaptive software component:

  • Refine the AUTOSAR configuration, using the Code Mappings editor and the AUTOSAR Dictionary or equivalent AUTOSAR programmatic interfaces.

  • Develop algorithmic content in the component, using a broad range of Simulink model-based design capabilities.

If you have Simulink Coder™ and Embedded Coder® software, you can generate ARXML descriptions and algorithmic C++ code for integration into the AUTOSAR adaptive run-time environment, as described in Generate AUTOSAR Adaptive C++ Code and XML Descriptions.

An AUTOSAR application is modeled by interconnected software components. Each software component encapsulates a functional implementation of automotive behavior, with well-defined connection points to the outside world.

Use the Code Mappings editor and the AUTOSAR Dictionary to begin refining and developing the component. The Code Mappings editor provides a Simulink perspective of the component, in which you selectively map Simulink elements to AUTOSAR elements. The AUTOSAR Dictionary provides an AUTOSAR perspective of the component, in which you configure AUTOSAR elements and their properties. To get started, see AUTOSAR Component Configuration.


Event ReceiveConvert input event to signal
Event SendConvert input signal to event


Code Mappings EditorMap AUTOSAR elements for code generation


expand all

autosar.api.getSimulinkMappingMap Simulink elements to AUTOSAR elements
getDataStoreGet AUTOSAR mapping information for Simulink data store
getInportGet AUTOSAR mapping information for Simulink inport
getOutportGet AUTOSAR mapping information for Simulink outport
mapDataStoreMap Simulink data store to AUTOSAR variable
mapInportMap Simulink inport to AUTOSAR port
mapOutportMap Simulink outport to AUTOSAR port
autosar.api.getAUTOSARPropertiesConfigure AUTOSAR software component elements and properties
addAdd property to AUTOSAR element
addPackageableElementAdd element to AUTOSAR package in model
createEnumerationCreate Simulink enumeration data type definition to work with imported AUTOSAR element
createNumericTypeCreate Simulink numeric data type definition to work with imported AUTOSAR element
deleteDelete AUTOSAR element
deleteUnmappedComponentsDelete unmapped AUTOSAR components from model
findFind AUTOSAR elements
getGet property of AUTOSAR element
setSet property of AUTOSAR element
autosar.api.createCreate or update mapped AUTOSAR component model
autosar.api.deleteDelete AUTOSAR properties and mapping for Simulink model
autosar.api.syncModelUpdate Simulink to AUTOSAR mapping of model with Simulink modifications
autosar.api.validateModelValidate AUTOSAR properties and mapping of Simulink model
autosar_ui_launchOpen AUTOSAR Dictionary dialog box
autosar_ui_closeClose AUTOSAR Dictionary dialog box


AUTOSAR Component Configuration

Configure AUTOSAR software component properties and mapping between Simulink and AUTOSAR elements.

Map AUTOSAR Adaptive Elements for Code Generation

Use Code Mappings editor to view and map AUTOSAR adaptive software component from Simulink perspective.

Configure AUTOSAR Adaptive Elements and Properties

Use AUTOSAR Dictionary to view and configure AUTOSAR adaptive software component elements and properties.

Incrementally Update AUTOSAR Mapping After Model Changes

Incrementally auto-configure and map new Simulink elements in AUTOSAR model.

Configure AUTOSAR Adaptive Software Components

Configure a Simulink representation of an automotive algorithm as a software component for the AUTOSAR Adaptive Platform.

Model AUTOSAR Adaptive Service Communication

Send and receive AUTOSAR adaptive service events by using service communication.

Configure Memory Allocation for AUTOSAR Adaptive Service Data

Specify whether middleware allocates memory for AUTOSAR adaptive event sends.

Configure AUTOSAR Adaptive Service Discovery Modes

Set the service discovery mode of required ports for AUTOSAR adaptive service communication.

Configure AUTOSAR Adaptive Service Instance Identification

Configure service instance identification for AUTOSAR adaptive service ports.

Model AUTOSAR Adaptive Persistent Memory

Model AUTOSAR port-based access to ECU nonvolatile memory.

Configure AUTOSAR Ports By Using Simulink Bus Ports

Model AUTOSAR ports by using Simulink In Bus Element and Out Bus Element blocks.

Configure AUTOSAR Packages

Import or define element packages within hierarchical AUTOSAR package structure.

AUTOSAR Blockset Checks

Describes Model Advisor checks for AUTOSAR Blockset.