Why am I getting "polyspace:noConnector" error while generating a report for Polyspace results?

2 views (last 30 days)
I am performing static code analysis using Polyspace. Why I am getting "polyspace:noConnector" error while generating a report for Polyspace results?
The screenshot of the error is :
The error logs are:
Error in polyspace.connector.Query (line 37)
Error in PolyspaceResult/Query  (line 400)
Error in PolyspaceResult/GetResultProperties  (line 607)
Error in PolyspaceResult/Initialise  (line 471)
Error in PolyspaceResult  (line 103)
Error in PolyspaceResultInterface  (line 279)
Error in polyspace_report_internal  (line 174)
Error in psrptgenprivate  (line 19)
Error in polyspace_report  (line 7)
polyspace:noConnector

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Feb 2023
Edited: MathWorks Support Team on 16 Feb 2023
The binary for the polyspace connector might be missing. Please check for the presence of the binary executable file  in Polyspace installation space:
"
 Files\Polyspace\R2021b\polyspace\bin\win64\polyspace-internal-connector.exe"
If the binary is not found, it can be due to the following reasons:
1) There might be wrong or incomplete installation of Polyspace in C:\Program Files\Polyspace\R2021b and you may try reinstalling Polyspace.
To reinstall Polyspace, please refer below: 
https://www.mathworks.com/matlabcentral/answers/476820-how-do-i-install-polyspace-for-r2019a-and-later  
2) It could also be due to an anti-virus program or a malware removing tool which detects this executable as a virus or a malware. Thus removing the binary from the space.
Also in this case a re-install is recommended and the executable polyspace-internal-connector.exe should be added to the white list of the anti-virus program.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!