How can I launch a Polyspace report automatically in PolySpace Client for C/C++?

1 view (last 30 days)
I want to automatically launch a Polyspace report. I know how to launch reports manually from the menu. I would like to know if it is also possible to launch a report programmatically.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Nov 2016
It is possible to launch the Polyspace Report Generator programmatically. On a Windows machine open a command window and cd to:
 
<POLYSPACEROOT>\PolySpace_Common\ReportGenerator\wbin\
where <POLYSPACEROOT> stands for your Polyspace installation folder and run:
 
report-generator -template <template> <OPTIONS>
Where <template> is the path to a valid PolySpace Report Generator
template file (*.rpt)
Where <OPTIONS> are:
-format <HTML|PDF|RTF|WORD|XML> default is RTF
-help -h display this help
-output-name <output_name> the filename to give generated report
-results-dir <dir>|<list> <dir> look for results in another folder
than the current folder
and <list> = "dir1,dir2,dir3,..."
In order to get more information about usage and available options run:
 
report-generator -h

More Answers (0)

Products


Release

R2009b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!