polyspace_report
R2026bGenerate reports from Polyspace analysis results
The following options have been removed and issue an error:
-generate-results-list-file-generate-variable-access-file
Use instead for
exporting results to an external format such as CSV or JSON.polyspace-results-export
Use the VariableAccess report template for generating a global
variables accesses report. See Bug Finder and Code Prover report (-report-template).
Description
polyspace_report('-template',
generates a report using a predefined template specified by template, '-results-dir', resultsFolder, options)template. By
default, the report is named after the results file in the folder
resultsFolder and saved in the Polyspace-Doc
subfolder. You can change the default behavior using additional options.
Note
Before you run Polyspace® from MATLAB®, you must link your Polyspace and MATLAB installations. See Integrate Polyspace with MATLAB and Simulink or Integrate Polyspace Server Products with MATLAB.
You need MATLAB Report Generator™ to use this function.
Examples
Input Arguments
Tips
Report generation can take a long time for result sets containing a very large number of defects or coding rules violations. In some cases, you might run into issues from insufficient memory. If that happens, you can increase the Java® heap size or export your results to a tab-delimited text file. For more information, see Fix Insufficient Memory Errors During Polyspace Report Generation.