Matlab doesn't recognize parpool function

3 views (last 30 days)
Dimitri
Dimitri on 26 Nov 2013
Answered: Edric Ellis on 27 Nov 2013
I am using Matlab R2013a with Parallel Computing Toolbox:
>> ver
-------------------------------------------------------------------------------------------------
MATLAB Version: 8.1.0.604 (R2013a)
MATLAB License Number: XXXXXX
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------
MATLAB Version 8.1 (R2013a)
.....
Parallel Computing Toolbox Version 6.2 (R2013a)
.....
I was trying to run a parallel pool locally employing parpool('local') command, and got error message:
>> parpool('local')
Undefined function 'parpool' for input arguments of type 'char'.
Apparently, Matlab can not find this function:
>
> which parpool
'parpool' not found
I checked a current search path. The Parallel Computing Toolbox was there:
>> path
MATLABPATH
....
C:\Program Files\MATLAB\R2013a\toolbox\distcomp
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\distcomp
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\user
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\mpi
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\parallel
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\parallel\util
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\lang
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\cluster
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\gpu
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\array
C:\Program Files\MATLAB\R2013a\toolbox\distcomp\pctdemos
...
So, I am wondering, how to fix this issue.
Can someone help me?
Regards
Dimitri

Answers (1)

Edric Ellis
Edric Ellis on 27 Nov 2013
PARPOOL was introduced in R2013b to replace MATLABPOOL. In R2013a and earlier, use MATLABPOOL.

Categories

Find more on Parallel Computing Fundamentals 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!