Running parfor loop in R2013a

1 view (last 30 days)
Steve Hui
Steve Hui on 24 Feb 2022
Commented: Walter Roberson on 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

Accepted Answer

Edric Ellis
Edric Ellis on 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 Comments
Steve Hui
Steve Hui on 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 on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!