- Consider upgrading to a newer version of Simulink that has enhanced support for AUTOSAR models and A2L file generation. For example, later versions like MATLAB R2020a and beyond have improved capabilities for generating A2L files with parameters and measurements for AUTOSAR models.
- If upgrading is not an option, you might need to manually configure the data elements for ASAP2 file generation. This involves specifying the calibration and measurement properties for each data element in your model. You can use the Code Mappings Editor or command-line functions to set these properties.
- Ensure you are using Embedded Coder, which provides additional features for code generation and A2L file creation. You can configure the model data elements and generate the A2L file using the Embedded Coder app
- Generate ASAP2 File for AUTOSAR Architecture Models
- Configure Model Data Elements for ASAP2 File Generation
- Generate ASAP2 and CDF Calibration Files