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 Center 和 MATLAB 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 |