Why do i get this error "Unrecognized method, property, or field 'qualifiedName' for class 'M3I.Object" ?

22 次查看(过去 30 天)
I had a working model that was generating code but there were unused datatypes in my base workspace so i deleted them by following the steps
1. arProps = autosar.api.getAUTOSARProperties('MODELNAME');
2. delete(arProps, 'path to the object')
3. update, validate the MODEL from autosar pane and then codegenerate.
When i try to regenerate code this is the following error
The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error: Unrecognized method, property, or field 'getExternalToolInfo' for class 'M3I.Object'. The build process will terminate as a result.
Caused by:
  • Unrecognized method, property, or field 'getExternalToolInfo' for class 'M3I.Object'.
Please help.
Thank you.

回答(2 个)

JK Math
JK Math 2023-3-22
AUTOSAR import fails when reading ARXML that contains fixed-axis BaseTypes that use float or single primitive types. The importer generates the following message:
Error using arxml.importer/createComponentAsModel (line 115)
Unrecognized method, property, or field 'IsApplication' for class 'M3I.Object'.

Melih
Melih 2023-9-22
Manual modification to ARXML file may lead to this error

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by