Docs @ Psychtoolbox Wiki : progressbar

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

ProgressBar

PsychtoolboxPsychOneliners

ProgressBar Ascii progress bar.
progBar = ProgressBar(nMax,str) creates a progress bar and returns a
pointer to a function handle which can then be called to update it.

To update, call progBar(currentStep)

Example:
n = 500;
progBar = ProgressBar(n,'computing...');
for tmp = 1:n
progBar(tmp);
pause(.01)
end




Path   Retrieve current version of ProgressBar.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOneliners/ProgressBar.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.2138 seconds