You can do this as follows:
set MATLAB=C:\Program Files\MATLAB\R2018a
"%MATLAB%\polyspace\bin\polyspace-results-repository.exe" -download -f -prog Code_Prover_Example -verif-version 1.1 -product "Code Prover" Results_SQO
"%MATLAB%\polyspace\bin\polyspace-report-generator.exe" -results-dir Results_SQO -template "
The first command *polyspace-results-repository *(after the set) is downloading the results 1.1 from the project Code_Prover_Example into the results folder Results_SQO.
The next command polyspace-report-generator is launching the report generation using the template SoftwareQualityObjectives_Summary.rpt _in PDF format for the results in the results folder _Results_SQO.
The SQO level will be the one set in Polyspace Metrics.
Best Answer