フィルターのクリア

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

3 ビュー (過去 30 日間)
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 件のコメント
RaghuRam Posimsetti
RaghuRam Posimsetti 2018 年 11 月 22 日
Hello,
i am also having same issu, did you find any solution?
Thank You...
seynaser
seynaser 2023 年 1 月 5 日
me too...
did you find any solution?

サインインしてコメントする。

回答 (1 件)

Lokesh
Lokesh 2024 年 3 月 27 日
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:

カテゴリ

Help Center および File ExchangeSimulink Report Generator についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by