How to migrate ARXML (ECU Extract) from AUTOSAR 3.2.2 to 4.3.1

Hello,
In my case, I already have Simulink models and ARXML files based on AUTOSAR Classic Platform version 3.2.2.
I would like to ask about the most efficient way to migrate these ARXML files to AUTOSAR 4.3.1. This migration is required to ensure compatibility with our current product package.
Any recommended tools, workflows, or best practices would be greatly appreciated.
Regards,
Nhan Phan

Answers (1)

In MATLAB/Simulink, the recommended way to do this is by using the AUTOSAR Toolbox. The existing AUTOSAR 3.2.2 ARXML files can be imported into Simulink, and the model can then be updated to target AUTOSAR Classic 4.3.1. After that, the ARXML can be regenerated in the 4.3.1 format directly from the model. During this process, any compatibility or validation issues can be fixed within Simulink before exporting the updated ARXML files.
Hope this helps!

4 Comments

Hi @Samhitha, thanks for your answer.
Following the information, AUTOSAR Component is just supporting AUTOSAR 4.0 and above.
Is the AUTOSAR 3.2.2 ARXML file still supported to import?
Please correct me if my understand is not correct.
Thanks.
The AUTOSAR Component workflow in MATLAB/Simulink supports AUTOSAR Classic Platform 4.0 and above for native component modeling and ARXML generation. AUTOSAR 3.2.2 is not directly supported as a target version for components. However, AUTOSAR 3.2.2 ARXML files can still be imported into MATLAB/Simulink for reference, analysis, or migration purposes. To generate valid AUTOSAR 4.x ARXML, the usual approach is to import the 3.2.2 ARXML, update the model to target AUTOSAR 4.x (e.g., 4.3.1), resolve any compatibility issues, and then regenerate the ARXML in the newer format.
Thanks
Hi @Samhitha, thanks for your confirmation.
I tried to import to the 3.2.2 ARXML files to MATLAB (2017b) Simulink by using command: autosar.importer('my_file.arxml'), but I received the error "Undefined variable "autosar" or class "autosar.importer".
Do I need Embedded Coder package?
Thanks.
Yes, you need both Embedded Coder and the AUTOSAR Toolbox.

Sign in to comment.

Categories

Products

Asked:

on 26 Jan 2026

Commented:

on 30 Jan 2026

Community Treasure Hunt

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

Start Hunting!