Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
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 comentarios

Iniciar sesión para comentar.

Respuestas (1)

Lokesh
Lokesh el 27 de Mzo. de 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:

Categorías

Más información sobre Simulink Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by