wdisp: a pedestrian command window waitbar
Creates the equivalent of WAITBAR in the command window.
See:
help wdisp
for a self-explanatory example - or type:
t='-\|/';
for i=1:40
tl=wdisp( 0,sprintf('time %c %s',t(rem(i,4)+1),datestr(now)));
% do some computation(s)
tl=wdisp(tl,sprintf('count %3d %s',i,repmat('.',1,i)));
% do more computation(s)
pause(.1);
tl=wdisp(tl);
end
Cite As
us (2024). wdisp: a pedestrian command window waitbar (https://www.mathworks.com/matlabcentral/fileexchange/1436-wdisp-a-pedestrian-command-window-waitbar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | enhanced help |