How do I export AUTOSAR elements in generated ASAP2/a2l files from Simulink?

7 visualizaciones (últimos 30 días)

Is there a way to configure my AUTOSAR elements to be included in ASAP2/A2L file generated from Simulink without relying on external tool to generate the ASAP2 for AUTOSAR elements from ARXML?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 8 de Ag. de 2024
Starting MATLAB release R2022b, there is an option to specify inclusion of AUTOSAR RTE elements automatically in the generated ASAP2/A2L file from Simulink. This can be done by enabling 'include AUTOSAR RTE elements' option in General Calibration Files tool or by specifying this property as Name-Value pair for coder.asap2.export() as shown below:
>> coder.asap2.export('modelName', IncludeAutosarRteElements=true);
For more information, please refer the below documentation: 

Más respuestas (0)

Categorías

Más información sobre AUTOSAR Blockset en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by