Facing issue while linking Polyspace to matlab.

2 views (last 30 days)
Alka Yadav
Alka Yadav on 24 Jun 2022
Edited: Anirban on 28 Jun 2022
I am not able to done Polyspace Analysis.for the model.
while performing Polyspace Analysis. I am getting error
"MATLAB Parallel Comupting Toolbox is not installed on your computer.
You must install this product in order to use Polyspace on a cluster."

Answers (2)

Matt Rhodes
Matt Rhodes on 25 Jun 2022
Hi Alka,
In R2018b and prior, you needed the MATLAB Parallel Computing Toolbox installed and licensed for your running an analysis on a remote cluster. This requirement went away starting in R2019a. In a nutshell, if you are in 18b or earlier, you are looking to turn off the batch setting.
If you can share the following information, I can also point you to the doc page that will show you how to properly set this for you:
  1. Release version of MATLAB & Simulink
  2. Release version of Polyspace Polyspace (if not the same and using the cross release capability*)
  3. Are you launching from the Simulink UI, or from the MATLAB API?
* If you are using different releases of MATLAB and Polyspace, you may find this mapping of cross release functionality useful.

Anirban on 28 Jun 2022
Edited: Anirban on 28 Jun 2022
You are trying to perform the analysis on a remote cluster instead of locally on your desktop. To do this, you required Parallel Computing Toolbox (prior to R2019a) and also had to some initial setup for communication with the remote cluster. The initial setup is still required post-R2019a. You can find more details in Install Products Required for Submitting Polyspace Analysis from Desktop to Remote Server (instructions apply post-R2019a).
The simplest thing to do if you do not have Parallel Computing Toolbox would be to analyze locally on your dekstop. To analyze locally:
  1. On the Polyspace tab in the Simulink toolstrip, select Settings > Project Settings (In releases prior to R2019b, you would select Code > Polyspace > Options and then click the Configure button next to the Project Configuration parameter).
  2. On the Run Settings node, disable Run Bug Finder or Code Prover analysis on a remote cluster.

Community Treasure Hunt

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

Start Hunting!

Translated by