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!