Main Content

Code Generation

R2026b
Generate AUTOSAR-compliant C++ code and XML descriptions for production integration; build Linux® executables or libraries for testing

After creating and developing a Simulink® representation of an AUTOSAR adaptive software component, generate code for testing or for integration into the AUTOSAR Run-time for Adaptive Applications (ARA). AUTOSAR code generation requires Simulink Coder™ and Embedded Coder®.

From an adaptive model, you can build a Linux executable or library. For Linux testing, you can configure run-time calibration, measurement, and logging.

Functions

coder.asap2.exportGenerate ASAP2 (A2L) file according to ASAM MCD-2 MC standards
linux.getXCPServiceConfigurationRetrieve XCP service configuration status for model (Since R2026b)
linux.setXCPServiceConfigurationSet XCP service configuration for model (Since R2026b)
removeNetworkBindingDelete AUTOSAR properties related to network binding from AUTOSAR dictionary (Since R2026a)

Topics