This is a suggested workflow in this case:
1) Launch an analysis from Simulink.
2) Get your results from Polyspace: add Status/Severity and comments on checks, defects and coding rules that you do not wish to correct using the Polyspace UI during review.
3) As soon as you are re-launching and getting new results, these would be two possible scenarios:
3.1) The new results are in the same folder as the previous results or in a folder managed by Polyspace. In this case, Status/severity and comments will be automatically imported in new results. Please refer to the following link for more information (specifically to the section "Disable Automatic Comment Import from Last Analysis"):
3.2) The second scenario would be that it is an analysis coming from another desktop or on a model that has reused some block libraries. In this case, you can import previous comments from a previous analysis using the corresponding commands in the Polyspace UI. For more information about this, refer to the "Import Comments from Another Analysis Result" section in the previous link. You can also achieve this programmatically instead of using the Polyspace UI by using the following command in the command line:
>> polyspace-imports-comments.exe -h in <MATLAB root>\Polyspace\bin
You can find the location of the MATLAB root folder by typing the following command in the command line:
Best Answer