wdisp: a pedestrian command window waitbar

版本 1.0.0.0 (1.4 KB) 作者: us
Creates a waitbar-like display in the command window.
9.9K 次下载
更新时间 2003/5/19

查看许可证

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

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R10
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

enhanced help