Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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 Kommentare

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Lokesh
Lokesh am 27 Mär. 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:

Kategorien

Mehr zu Simulink Report Generator finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by