Clear Filters
Clear Filters

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

75 views (last 30 days)
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.

Answers (2)

JK Math
JK Math on 22 Mar 2023
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 on 22 Sep 2023
Manual modification to ARXML file may lead to this error

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!