polyspace_report
Generate reports from Polyspace analysis results
Syntax
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.
polyspace_report('-generate-results-list-file', '-results-dir',
exports the list of Polyspace® results to a tab-delimited text file.resultsFolder
, options
)
polyspace_report('-generate-variable-access-file', '-results-dir',
exports the list of global variables to a tab-delimited text file.resultsFolder
, 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 either increase the Java® heap size or use the option-value pair '-wysiwyg', '
to generate multiple filtered reports instead of a single report containing all results. Here, scopeName
'
is the name of a review scope that narrows down the list of results to be reported. For more information on how to create such review scopes, see Fix Insufficient Memory Errors During Polyspace Report Generation.scopeName
Version History
Introduced in R2013b