polyspaceBugFinder
R2026bRun Polyspace Bug Finder analysis from MATLAB
For easier scripting, run Polyspace® analysis using a polyspace.Project object.
Syntax
Description
polyspaceBugFinder opens Polyspace
Bug Finder™.
opens a Polyspace project file in Polyspace
Bug Finder.status = polyspaceBugFinder(projectFile)
runs an analysis on the Polyspace options object in MATLAB®. status = polyspaceBugFinder(optsObject)
Note
When you use a Polyspace options object to run an analysis, use only the Polyspace options object to specify options of the analysis. Using name-value arguments is not supported when the first argument is a Polyspace options object.
runs an analysis on the Polyspace project file in MATLAB. If the project has multiple build or static analysis
configurations, the analysis runs using the active variants. To see which
configuration variants are active, open the project in the Polyspace Platform user interface. Then, open the
Configuration pane and check the
Build and Static Analysis
tabs.status = polyspaceBugFinder(projectFile,
'-nodesktop')
opens a Polyspace results file in Polyspace
Bug Finder.status = polyspaceBugFinder(resultsFile)
opens a Polyspace results file from status = polyspaceBugFinder('-results-dir', resultsFolder)resultsFolder in
Polyspace
Bug Finder.
runs a Polyspace
Bug Finder analysis on the source files specified in
status = polyspaceBugFinder('-sources', sourceFiles)sourceFiles.
runs a Polyspace
Bug Finder analysis on the source files with additional options specified by
one or more status = polyspaceBugFinder('-sources', sourceFiles, Name,Value)Name,Value pair arguments.
Note
Before you run Polyspace from MATLAB, you must link your Polyspace and MATLAB installations. See Integrate Polyspace with MATLAB and Simulink.
[
offloads the analysis to a remote cluster. Here, status, jobID] = polyspaceBugFinder(___, '-batch', '-scheduler', scheduler)scheduler
specifies the head node of the cluster that manages the analysis submissions
from multiple clients. See also Manipulate Two Jobs in the Cluster.