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
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
2024 年 7 月 25 日
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
2024 年 7 月 26 日
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 Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!