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 Commenti

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.
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?
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.
It didn't change much, still has the same issue.
Hi Prasad,
In this case, please contact
https://www.mathworks.com/support/contact_us.html?s_tid=hc_resources

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Release

R2024a

Richiesto:

il 25 Lug 2024

Commentato:

il 27 Lug 2024

Community Treasure Hunt

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

Start Hunting!

Translated by