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

16 次查看(过去 30 天)
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?

回答(1 个)

Anurag Ojha
Anurag Ojha 2024-6-12
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 个评论
Ansh Gandhi
Ansh Gandhi 2024-8-5,10:11
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by