Error during code generation for Autosar SWC

8 visualizzazioni (ultimi 30 giorni)
GK
GK il 14 Feb 2020
Risposto: lihang sun il 20 Lug 2022
Hello & Thank you,
I am trying to generate code for my SWC which is Autosar configured.
It is able to generate the code in my colleagues pc, but I don't know why I am getting this error (snapshot attached):
"The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error:
Dot indexing is not supported for variables of this type.
The build process will terminate as a result.
Caused by:
Dot indexing is not supported for vriables of this type. "
I am able to 'update diagram'(Ctrl + D) the simulink model after loading normal DD as well as Autosar DD.
I tried reinstalling MATLAB, but no change in error..
I am using version: MATLAB R2018b
Any suggestion is welcome.
  1 Commento
Mario Weyrich
Mario Weyrich il 1 Dic 2020
I am facing the same problem with R2020a, generating code from a AS SWC. So, any answers from Mathworks here where the problem is based?
..more detailed error on my side:
Error in matlab.internal.project.util.runMATLABCodeInBase
Error in matlab.internal.project.util.runMATLABCodeInBase
Error in matlab.internal.project.util.runMATLABCodeInBase
Error in matlab.internal.project.util.runMATLABCodeInBase - Show complete stack trace
Caused by:
Error using autosar.mm.sl2mm.ConstantBuilder/updateOrCreateValueSpecificationForLUTObject
Dot indexing is not supported for variables of this type. - Show complete stack trace

Accedi per commentare.

Risposte (1)

lihang sun
lihang sun il 20 Lug 2022
I am facing the same problem with R2020a.Is there any solutions?

Categorie

Scopri di più su AUTOSAR Blockset in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by