progressbar

버전 1.2.0.0 (4.65 KB) 작성자: Steve Hoelzer
Simple, efficient, and user friendly replacement for waitbar.
다운로드 수: 26.9K
업데이트 날짜: 2010/10/8

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

This implementation of progressbar is intended to be extremely simple to use while providing a high quality user experience.

Features:
- Can add progressbar to existing m-files with a single line of code.
- Supports multiple bars in one figure to show progress of nested loops.
- Optional labels on bars.
- Figure closes automatically when task is complete.
- Only one figure can exist so old figures don't clutter the desktop.
- Remaining time estimate is accurate even if the figure gets closed.
- Minimal execution time. Won't slow down code.
- Randomized color. When a programmer gets bored...

Demo:
n = 1000;
progressbar % Create figure and set starting time
for i = 1:n
pause(0.01) % Do something important
progressbar(i/n) % Update figure
end

인용 양식

Steve Hoelzer (2024). progressbar (https://www.mathworks.com/matlabcentral/fileexchange/6922-progressbar), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Dialog Boxes에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Major overhaul to support multiple bars and add labels.

1.1.0.0

Major overhaul to support multiple bars and add labels.

1.0.0.0