To call to autosar_make_rtw_hook, during the before_make hook generated the following error

18 ビュー (過去 30 日間)
SUNGHO CHO
SUNGHO CHO 2023 年 7 月 6 日
回答済み: Srivardhan 2023 年 7 月 6 日
When I tried to generate code, I faced the following error message.
To call to autosar_make_rtw_hook, during the before_make hook generated the following error:
Assertion failed : StructElement must have Chks Type or InlineType at B:\matlab\src\arxml_util\arxml\ArxmlWriteTransformer4p0.cpp:5730:
Before I generate code, I define data type replacement at configuration setting, Is it related to this error?
What is the case this error message can come?

回答 (1 件)

Srivardhan
Srivardhan 2023 年 7 月 6 日
Hi Sungho,
As per my understanding you got this error becuase there is an issue with the data type replacement configuration.
It suggests that a StructElement in the Autosar data model does not have the expected Chks Type or InlineType. To resolve this issue, you should review your data type replacement configuration in MATLAB and ensure that the mapping between MATLAB data types and Autosar data types is correct. This error generally occurs when there is a mismatch between the expected data type and the actual data type defined in the configuration.
Can you re-check your data type replacement at configuration setting ?
I hope this helps!

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by