How to Customize Polyspace code prover Report?

3 visualizaciones (últimos 30 días)
Shaku kaa
Shaku kaa el 29 de Sept. de 2016
Respondida: Alexandre De Barros el 6 de Oct. de 2016
I want to have a report having error details for some of the files used in polyspace code prover verification.
Thanks in advance

Respuestas (1)

Alexandre De Barros
Alexandre De Barros el 6 de Oct. de 2016
Hello,
First, it is possible to customize an existing report using the Report Generator toolbox, as described in the documentation here.
See this link to have more information on the filters you can use.
For your specific need, look for the component named "if (PolyspaceData.RTEEnabled)" and inside it, click on the component "Run-time Checks Details ordered by Color/File".
You will see that for this component you can use "Advanced Filters". One of them is related to "Files to include". List the files to include in your report by using a regular expression.
Ex.: use
.*Module.*.c
to include C source files that contain the word "Module".
You can have several regular expressions (one by line) to select more files.
Alex

Community Treasure Hunt

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

Start Hunting!

Translated by