Matlab doesn't recognize parpool function

1 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by