My parallel computing code (R2013b) is very slow

조회 수: 2 (최근 30일)
Sebastiano delre
Sebastiano delre 2014년 7월 21일
답변: Sebastiano delre 2014년 7월 21일
Hi! I am trying to use parallel computing and parfor loops with my R2013b MatLab version. I can already use parfor cycles but they are slow, a bit slower that the corresponding for cycle. Why is that? When I write parpool in the command window, I get: undefined function or variable 'parpool' Thank you for your help, Sebastiano.

채택된 답변

Shashank Prasanna
Shashank Prasanna 2014년 7월 21일
If you have Parallel Computing Toolbox installed you shouldn't see the error message. Confirm you have Parallel Computing Toolbox installed by typing the following on the command line:
>> ver
If you are using an earlier of MATLAB, replace parpool with matlabpool
Take a look at the release notes for 13b:

추가 답변 (1개)

Sebastiano delre
Sebastiano delre 2014년 7월 21일
Thank you!

카테고리

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