How to generate a2l (asap2) file for Autosar classic platform with Matlab R2021b?

14 views (last 30 days)
In Matlab R2021b, the method of generating a2l file is changed. But the new a2l generation tool named Generate Calibration Files suppors only targets like ert, grt and adaptive autosar. It does not support the classic Autosar target.
How to generate a2l (asap2) file for the classic autosar simulink models with Matlab R2021b?

Answers (1)

Anurag Ojha
Anurag Ojha on 12 Jun 2024
Hello Lin
Kindly refer to following MATLAB documentation for step by step instructions to generate a2l (asap2) file for the classic autosar simulink models with MATLAB R2021b.
  1 Comment
Ansh Gandhi
Ansh Gandhi on 5 Aug 2024
Hello, the above guides were not appicable in my case, these are the steps mentioned in the GUI based guide:
Open Generate Calibration Files Tool
  1. Enter into code perspective of the model.
  2. Build the model.
  3. On the C CODE tab, select Share > Generate Calibration Files.
I have successfully generated the code but there is no 'C-code tab'. What does it mean by entering 'code perspective'? I have a window alongside the model which shows the C code when I enable from Autosar > View C-code.

Sign in to comment.

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!