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

14 ビュー (過去 30 日間)
lin lou
lin lou 2022 年 5 月 26 日
コメント済み: Ansh Gandhi 2024 年 8 月 5 日
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 日
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 Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by