Filter löschen
Filter löschen

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

9 Ansichten (letzte 30 Tage)

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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 8 Aug. 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: 

Weitere Antworten (0)

Kategorien

Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by