why parpool(n) does not work?

4 ビュー (過去 30 日間)
Boram Lim
Boram Lim 2018 年 5 月 4 日
回答済み: Ameer Hamza 2018 年 5 月 4 日
I am using most recent Matlab version, Matlab R2018a. I am trying to use parfor. When I first use parpool(4) it does not work and an error message is showing like this
Undefined function 'parpool' for input arguments of type 'double'.
Why is above error showing?
here is simple version what I am trying to work
parpool(4)
parfor i = 1:N
<my work>
end

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 5 月 4 日
Do you have Parallel Computing Toolbox installed? Check the output of
ver
and see if it appear in the list.

カテゴリ

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