Simulink Code inspector - Customize the header file search path
Mostra commenti meno recenti
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
Umar
il 25 Lug 2024
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
il 25 Lug 2024
Umar
il 25 Lug 2024
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
il 26 Lug 2024
Umar
il 27 Lug 2024
Hi Prasad,
In this case, please contact
https://www.mathworks.com/support/contact_us.html?s_tid=hc_resources
Risposte (0)
Categorie
Scopri di più su Simulink Environment Customization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!