- Configure AUTOSAR Code Generation.
- Create and Configure AUTOSAR Software Component.
- Develop a Model That Complies with the AUTOSAR Standard.
- Code Generation for Classic AUTOSAR Software Components.
- Code Generation
Not able to generate Autosar code for reference models
조회 수: 9 (최근 30일)
이전 댓글 표시
Hello,
when I tried to generate Autosar code, it's just generating for main model. I can't see any code generated for reference models(as per Hierarchy). Do I need to change anything in model settings? Why I'm not able to see Autosar code for my reference models?
Thanks!
댓글 수: 0
답변 (1개)
UDAYA PEDDIRAJU
2023년 11월 21일
Dear Tejas,
As per my understanding, you should check the model hierarchy and ensure that the reference models are defined correctly. You should also check the model settings and ensure that the AUTOSAR code generation settings are correct, also ensure that you’re using the right version of MATLAB.
To generate AUTOSAR-compliant C code and ARXML component descriptions from a model configured for the AUTOSAR Classic Platform, you can follow the steps mentioned in the following resources.
Refer to the https://www.mathworks.com/help/autosar/ug/generating-autosar-code-and-description-files.html for more information.
I hope this helps!
참고 항목
카테고리
Help Center 및 File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!