How to Customize Polyspace code prover Report?

조회 수: 5 (최근 30일)
Shaku kaa
Shaku kaa 2016년 9월 29일
답변: Alexandre De Barros 2016년 10월 6일
I want to have a report having error details for some of the files used in polyspace code prover verification.
Thanks in advance

답변 (1개)

Alexandre De Barros
Alexandre De Barros 2016년 10월 6일
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