How to display the calcution process with progress bar?
22 ビュー (過去 30 日間)
古いコメントを表示
I make my task with GUI, and to display the result i wait until 1 minute. to monitoring the program running periode , i want make progress bar. How to display the calcution progress with progress bar?
0 件のコメント
採用された回答
David Sanchez
2013 年 5 月 27 日
Is this what you are looking for?
h = waitbar(0,'Please wait...');
steps = 1000;
for step = 1:steps
% computations take place here
waitbar(step / steps)
end
close(h)
Adapt it to your needs
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!