I can not find enable ASAP2 interface block in matlab 2021a
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
On the right hand side is the target configuration in 2020b while the left side is the 2021a. The ASAP2 interface disappeared and I can not create the a2l file. Could anyone give me some help? Thank you guys!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/582291/image.png)
5 Kommentare
xiao
am 16 Mai 2022
Hi , when I type this command : set_param('model name','GenerateASAP2',true) , there is no anychange, is it work for you ?
Johan Eklöv
am 30 Mai 2022
Bearbeitet: Johan Eklöv
am 30 Mai 2022
I tried the command @wanwan li suggested and it worked for me on my (classic) autosar model, in R2021b.
I tried it on a "blank" model generated from an arxml. Flipping the parm setting on and off sometimes didn't have any effect, but that might been due to cache issues. If there are no block changes to the model the code generation is sometime skipped.
Antworten (1)
Gargi Patil
am 2 Sep. 2021
Hi,
As mentioned in the release notes (under Functionality being removed or changed for Code Interface Configuration and Integration), the ASAP2 interface configuration parameter functionality is no longer present in MATLAB R2021a. Instead the Generate Calibrations Files tool can be used to create the ASAP2 file.
2 Kommentare
Liang Zong
am 3 Mär. 2022
hi,
i'm not able to see the tab "C CODE" in my model(matlab 2021a), and autosar.tlc was used. Do we have any command to open this ASAP2 tool? thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/912930/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/912935/image.png)
wanwan li
am 30 Mär. 2022
when you select ert.tlc instead of autosar.tlc, the C tab appears after building
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!