autosar_make_rtw_hook error

hello
here is the issue:
Version:1.0 StartHTML:0000000105 EndHTML:0000040254 StartFragment:0000038750 EndFragment:0000040214
/********************************************************************************/
The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error:
'Boolean_2' is not a valid name for the type in package '/DataTypes'. Another element with the same name already exists in that package. Please rename the type or change the package.
The build process will terminate as a result.
Caused by:
'Boolean_2' is not a valid name for the type in package '/DataTypes'. Another element with the same name already exists in that package. Please rename the type or change the package.
/********************************************************************************/
the model is creat from ARXML without warnings.
I have defined a datatype named 'Boolean_2' in sldd. it's should be an application datatype not '/DataTypes'

回答(3 个)

JIAWEI CAI
JIAWEI CAI 2019-11-15
编辑:JIAWEI CAI 2019-11-15

0 个投票

Hello,
I got the same issue when generating code with the model imported from arxml, have you fixed this?
Zhenwei Sun
Zhenwei Sun 2019-11-15

0 个投票

hello Jiawei
this is cause by the arxml due to different tools. you can update your input arxml then fix this.

2 个评论

Thanks for your answer. Can you give more details? I am still inside the trap.
hello Can you elaborate what exactly did you change in arxml?

请先登录,再进行评论。

Stephen Pei
Stephen Pei 2023-4-15

0 个投票

最后怎么解决了?请问,谢谢

类别

在 帮助中心 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by