Running parfor loop in R2013a

1 visualizzazione (ultimi 30 giorni)
Steve Hui
Steve Hui il 24 Feb 2022
Commentato: Walter Roberson il 25 Feb 2022
Hi, all,
I have delopved a tool based on R2020b with a few parfor loops in it. This tool has been compiled and ran in a server based on R2013a and parfor loop isn't running.
  • My question is does parallel computing toolbox comes with R2013a?
  • In 2020B, I run my parfor loop without specifying the number of cores or wokers. Do I need to do that in 2013a (e.g. matlabpool (4))?
Best,
Steve

Risposta accettata

Edric Ellis
Edric Ellis il 25 Feb 2022
Yes, Parallel Computing Toolbox was available for R2013a. Yes, in R2013a, you need to explicitly create the parallel pool using the old (now obsolete) syntax matlabpool(4) or similar.
  2 Commenti
Steve Hui
Steve Hui il 25 Feb 2022
Thanks for your reply. I tried to enter help matlabpool and the "Undefined function" warning popped up.
Do I have to contact the Mathworks to get a license for the toolbox?
Walter Roberson
Walter Roberson il 25 Feb 2022
It is not possible to purchase a license for r2013a toolboxes anymore.
What is possible at this point is to purchase a license for the current version of MATLAB and the Parallel Computing Toolbox. Then if you had particular reason to use R2013a (compatability mostly) then your new license key would also be valid for any previous version including R2013a.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by