matlab - Progress indication in parfor -
i used track progress in parfor loop first generate line of dots , adding "|" every once while on new line (source: matlab: print progress parfor loop). there way percentage of progress during parfor loop without additional pop progress bar (as in source well)?
fprintf(['\n ' repmat('.',1,100) '\n']); parfor jj = 1:n if mod(jj,n/100)==0 fprintf('\b|\n'); end output= somefunction(input); end
no, main matlab process inaccessible while using parfor
. way around use process reports progress.
fwiw, parfor progress monitor best solution i've found issue, though open new window.
Comments
Post a Comment