After creating and developing a Simulink® representation of an AUTOSAR software component, generate code for SIL/PIL testing or for integration into the AUTOSAR run-time environment. To get started with AUTOSAR modeling, see Get Started with AUTOSAR Blockset (AUTOSAR Blockset).
Develop a Model that Complies with the AUTOSAR Standard
Generate AUTOSAR-compliant C code and export AUTOSAR XML (ARXML) descriptions from a Simulink® model.
Model Configuration Parameters: Code Generation AUTOSAR
Parameters for controlling AUTOSAR code generation.
Code Generation with AUTOSAR Code Replacement Library (AUTOSAR Blockset)
Use AUTOSAR 4.0 code replacement library to generate C code that more closely aligns with the AUTOSAR standard.
Verify AUTOSAR C Code with SIL and PIL (AUTOSAR Blockset)
Verify AUTOSAR software component C code with software-in-the-loop (SIL) and processor-in-the-loop (PIL) simulations.
Import and Simulate AUTOSAR Code from Previous Releases (AUTOSAR Blockset)
Use cross-release workflow to import AUTOSAR code from previous releases.