Analyse Bug Finder avec des scripts MATLAB
R2026bSi vous utilisez MATLAB en tant que langage de script, vous pouvez exécuter Polyspace® à partir de MATLAB. Pour commencer, procédez à une configuration unique pour lier Polyspace et MATLAB. Consultez Integrate Polyspace with MATLAB and Simulink.
Après la configuration, vous pouvez exécuter toutes les fonctions Polyspace à partir de MATLAB. En particulier, vous pouvez configurer un objet polyspace.Project pour exécuter une analyse Polyspace et lire les résultats dans une table MATLAB.
Classes
polyspace.Project | Run Polyspace analysis on C and C++ code and read results |
polyspace.Options | Create object for running Polyspace analysis on handwritten code |
polyspace.GenericTargetOptions | Create a generic target configuration |
polyspace.DefectsOptions | Create custom list of defects to check |
polyspace.CodingRulesOptions | Create custom list of coding rules to check |
polyspace.BugFinderResults | Read Polyspace Bug Finder results from MATLAB |
Propriétés
| polyspace.Project.Configuration Properties | Customize Polyspace analysis of handwritten code with options object properties |
Fonctions
polyspacesetup | Integrate Polyspace installation with Simulink |
polyspaceroot | Get Polyspace installation folder |
polyspaceBugFinder | Run Polyspace Bug Finder analysis from MATLAB |
polyspaceConfigure | Create Polyspace Platform project, workspace, or options file from build command or compilation database |
polyspace_report | Generate reports from Polyspace analysis results |
Rubriques
- Integrate Polyspace with MATLAB and Simulink
Integrate Polyspace with MATLAB and Simulink® to identify potential bugs, run-time errors, and coding standard violations in your model and code.
- Get Started with Polyspace Analysis by Using MATLAB
Tutorial showing how to analyze handwritten C/C++ codes by using Polyspace from the MATLAB Command Window.
- Run Polyspace Analysis by Using MATLAB Scripts
Check C/C++ code with Bug Finder or Code Prover using M-files, run analysis locally on desktop or remote server.
- Générer des scripts MATLAB à partir de l’interface utilisateur Polyspace
Créer des fichiers de programme MATLAB pour lancer des exécutions automatisées à partir d’un projet configuré dans l’interface utilisateur Polyspace.
- Visualize Bug Finder Analysis Results in MATLAB
Generate graphs from Polyspace analysis results.
- Troubleshoot Polyspace Analysis from MATLAB
Read analysis log for errors and work around the errors.