Call to autosar_make_rtw_hook ended with error
조회 수: 41 (최근 30일)
이전 댓글 표시
Hello,
I´m trying to compile my simulink model which is configured with AUTOSAR tlc.
I defined some time ago a Simulink.AliasType wheel_velocity_t, which I haven´t used yet. This numeric type has following characteristics:
fixdt(1,16,0.01,0)
Currently I want to use this numeric type for all of the computations inside of my model to be also fix point signals. While attempting to generate code for the model I got this error:
The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error: 'wheel_velocity_t' is not a valid name for the type in package '/SysMdl/Erv/Datatypes/ApplDataTypes'. Another element with the same name already exists in that package. Please rename the type or change the package.
Nevertheless, I cannot access to the content of mentioned folder ApplDataTypes to delete the already exisiting types.
I need to solve this issue soon since I´m not able to generate any code.
I look forward to getting soon support from you.
Many thanks in advance for your reply.
Regards,
Samir Revelo
댓글 수: 0
답변 (1개)
Urmila Rajpurohith
2021년 2월 22일
Hi
It might be because XML Options are configured such that Application Data Types and Data Types are pointing to the same location. Since they are pointed to the same location, all generated implementation data types and application data types are assigned the same fully qualified path and that is forbidden in Simulink.
To avoid this you can try making the package names for Application Data Types and Data Types different.
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!