MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 432

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 431
11 Functions — Alphabetical List
11-88
end
% Build a waitbar to track progress
h = waitbar(0,'Waiting for FevalFutures to complete...');
results = zeros(1,N);
for idx = 1:N
[completedIdx,thisResult] = fetchNext(F);
% store the result
results(completedIdx) = thisResult;
% update waitbar
waitbar(idx/N,h,sprintf('Latest result: %d',thisResult));
end
delete(h)
See Also
isequal | fetchOutputs | parfeval | parfevalOnAll | parpool
Page view 431
1 2 ... 427 428 429 430 431 432 433 434 435 436 437 ... 655 656

Comments to this Manuals

No comments