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 |