autosar_make_rtw_hook error

77 Ansichten (letzte 30 Tage)
Zhenwei Sun
Zhenwei Sun am 9 Apr. 2019
Beantwortet: Stephen Pei am 15 Apr. 2023
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'

Antworten (3)

JIAWEI CAI
JIAWEI CAI am 15 Nov. 2019
Bearbeitet: JIAWEI CAI am 15 Nov. 2019
Hello,
I got the same issue when generating code with the model imported from arxml, have you fixed this?

Zhenwei Sun
Zhenwei Sun am 15 Nov. 2019
hello Jiawei
this is cause by the arxml due to different tools. you can update your input arxml then fix this.
  2 Kommentare
JIAWEI CAI
JIAWEI CAI am 26 Nov. 2019
Thanks for your answer. Can you give more details? I am still inside the trap.
Jeevan Kumar Guntammagari
Jeevan Kumar Guntammagari am 7 Jun. 2020
hello Can you elaborate what exactly did you change in arxml?

Melden Sie sich an, um zu kommentieren.


Stephen Pei
Stephen Pei am 15 Apr. 2023
最后怎么解决了?请问,谢谢

Kategorien

Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by