Matlab Autosar Code Genration Error
이전 댓글 표시
When Generating Code with Autosar,
I have these problems.
Parsing Output Code in C Function block failed with the messages:
In line 1000014:error: 20, identifier "uint8" is undefined
In line 1000014:error: 20, identifier "sint16" is undefined
and so on,,
This problem occur in C Function Block.

When I using int32, uint16.. Type, they already defined in C Function Block.
Should I defined one more? And Where shoude I define it?
댓글 수: 2
dayoung
2024년 12월 10일
If possible could you provide the required files, so that I can have a look into it? meanwhile try changing the code to use and define autosar types instead or a workaround could be to replace the "C Function" block with the "C Caller" block.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!