Simulink Code inspector - Customize the header file search path

When I try to generate the Simulink Code inspector report, its defaulting to a mathdef.h located in the polyspace\veroiifier\cxx\include location. Is it possible to customize the code inspector to ignore the includes from the polyspace include location and use project specific location?

5 件のコメント

Umar
Umar 2024 年 7 月 25 日
Hi Prasad,
Here's a general approach to customize the include locations, Open your Simulink model.Go to the "Model Configuration Parameters" by clicking on the gear icon.Navigate to the "Code Generation" tab. In the "Custom Code" section, you can specify additional include directories using the "Additional include directories" parameter. Add the project-specific include location to this parameter to override the default polyspace include location.By customizing the include directories in the Code Generation settings, you can instruct the Simulink Code Inspector to use the project-specific include location instead of the default one. This customization will allow you to tailor the Code Inspector's behavior to suit your project requirements. Please let me know if this resolves your problem.
Prasad
Prasad 2024 年 7 月 25 日
Thanks Umar for a quick response. I added my project paths to the "Include Directories" and I am still seeing the same response. Is there a way exlcude the polyspace from the Code Inspector search path?
Umar
Umar 2024 年 7 月 25 日
Hi Prasad,
Sorry to hear that you are still having technical difficulties. To address your question about, “ Is there a way exlcude the polyspace from the Code Inspector search path? ”you can navigate to the "Code Generation" tab and then specifying additional include directories in the "Custom Code" section, you can override the default Polyspace include location. Let me know if this helps resolve your issue.
Prasad
Prasad 2024 年 7 月 26 日
It didn't change much, still has the same issue.
Umar
Umar 2024 年 7 月 27 日
Hi Prasad,
In this case, please contact
https://www.mathworks.com/support/contact_us.html?s_tid=hc_resources

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Environment Customization についてさらに検索

製品

リリース

R2024a

質問済み:

2024 年 7 月 25 日

コメント済み:

2024 年 7 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by