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.
To develop an AUTOSAR software component in Simulink®, you create an initial representation of an AUTOSAR component, as described in Component Creation. The resulting representation includes:
Simulink blocks, connections, and data that model AUTOSAR elements such as ports, runnables, inter-runnable variables, and parameters.
Stored properties, defined in the AUTOSAR standard, for AUTOSAR elements in the software component.
A mapping of Simulink elements to AUTOSAR elements.
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.
Code Mappings Editor | Map AUTOSAR elements for code generation |
AUTOSAR Component Configuration
Configure AUTOSAR software component properties and mapping between Simulink and AUTOSAR elements.
Map AUTOSAR Elements for Code Generation
Use Code Mappings editor to view and map AUTOSAR software component from Simulink perspective.
Map Calibration Data for Submodels Referenced from AUTOSAR Component Models
Use Code Mappings editor to view and map internal data for submodels referenced from AUTOSAR components.
Configure AUTOSAR Elements and Properties
Use AUTOSAR Dictionary to view and configure AUTOSAR software component elements and properties.
Incrementally Update AUTOSAR Mapping After Model Changes
Incrementally auto-configure and map new Simulink elements in AUTOSAR model.
Design and Simulate AUTOSAR Components and Generate Code
Develop AUTOSAR components by implementing behavior algorithms, simulating components and compositions, and generating component code.
Import or define element packages within hierarchical AUTOSAR package structure.
Configure AUTOSAR Package for Component, Interface, CompuMethod, or SwAddrMethod
Enter package path in component, interface, CompuMethod, or SwAddrMethod view in AUTOSAR Dictionary.
Describes Model Advisor checks for AUTOSAR Blockset.
Limitations that apply to AUTOSAR component development.