A set of labs (local MATLAB workers) for use in the execution of parfor-loops and some statements. Also refers to the command creating for creating said labs. In newer Matlab releases, matlabpool is known as parpool.
Questions tagged [matlabpool]
31 questions
0
votes
2 answers
functions inside a matlab parfor loop
Can you use functions inside a matlab parfor loop? for instance I have a code that looks like:
matlabpool open 2
Mat=zeros(100,8);
parfor(i=1:100)
Mat(i,:)=foo();
end
Inside the function I have a bunch of other variables. In particular thereā¦

Akt904
- 111
- 1
- 4