Matlab doesn't recognize parpool function

3 ビュー (過去 30 日間)
Dimitri
Dimitri 2013 年 11 月 26 日
回答済み: Edric Ellis 2013 年 11 月 27 日
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 Center および File ExchangeParallel Computing Fundamentals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by