Effacer les filtres
Effacer les filtres

How can I solution the problem that Static code metrics report was not successfully generated becuase of the following errors?

1 vue (au cours des 30 derniers jours)
C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_Device.h 79 expected a ";" C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_Device.h 80 expected a ";" C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 26 expected a ";" C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 35 identifier "PINT" is undefined C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 36 identifier "PINT" is undefined C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 37 identifier "PINT" is undefined C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 38 identifier "PINT" is undefined C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_headers\include\F2806x_PieVect.h 39 identifier "PINT" is undefined<</matlabcentral/answers/uploaded_files/74136/error.png>>
  4 commentaires
RaghuRam Posimsetti
RaghuRam Posimsetti le 22 Nov 2018
Hello,
i am also having same issu, did you find any solution?
Thank You...

Connectez-vous pour commenter.

Réponses (1)

Lokesh
Lokesh le 27 Mar 2024
Hi CHEN,
It is my understanding that you are encountering issues with generating Static Code Metrics Report.
The following are the limitations of Static Code Metrics Report:
Static code metrics are not available if the target configuration for a model results in generated code that:
  • Includes a header file that is not generated by the model hierarchy and is not a system header file
  • Uses a macro that is not recognized
The static code metrics tool accepts many dialects of C/C++ (gnu, msvc, upc). However, the 'TI' keywords are not recognized by it. Hence the error occurs.
Please refer to the following documentation for more information about Static Code Metrics Report:

Catégories

En savoir plus sur Simulink Report Generator dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by