multiWaitbar

버전 1.14 (8.67 KB) 작성자: Ben Tordoff
A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more.
다운로드 수: 8.3K
업데이트 날짜: 2020/8/4

라이선스 보기

This function provides a new progress-bar (waitbar in MATLAB-speak) with the following features:
* Multiple bars in one window
* Robust to the window being closed
* Time-estimates for long-running tasks
* Completion percentage for long-running tasks
* Control of the color for each bar
* Textured bars (pointless, but nice)
* No need to keep/manage window handles
* Cancel tasks using a return flag or callback function
* "Busy mode" where a bar bounces back and forth
Note that this incurs roughly the same computational overhead as the built-in WAITBAR for low numbers of iterations and usually less overhead for high numbers of iterations.
Requires MATLAB R2009a or above.

인용 양식

Ben Tordoff (2024). multiWaitbar (https://www.mathworks.com/matlabcentral/fileexchange/26589-multiwaitbar), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
R2014b 이상 릴리스와 호환
플랫폼 호환성
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.14

Attempt to fix non-integer size values.
Add optional second output to return figure handle. This allows you to change things like the position, e.g.
>> [~,figh] = multiWaitbar(...);
>> figh.Position(1:2) = [100 100]
Use with caution!

1.13

Fix problems with 'cancel' after a bar has been renamed. Fix several errors with drawing when the window is too small.

1.12

Make bar updates and cleanup robust to the timer object having been externally deleted.

1.11.0.1

Updated license

1.11.0.0

* Fix bug with ResetCancel
* Improve compatibility with MATLAB R2014b

1.10.0.0

* Allow labels to be changed ('relabel')
* Use 'pchip' interpolation instead of 'cubic'

1.9.0.0

* Fix updating of percentage indication
* Fix ResetCancel command

1.8.0.0

* Don't update text labels if bar didn't move. This gives around a 20% speed-up in some cases.

1.7.0.0

* Add ability to set a bar into "busy" mode where it bounces back and forth

1.6.0.0

This update should hopefully fix some of the long-standing graphical glitches when moving or resizing the window. Thanks to Igor for testing this!

1.5.0.0

* Don't grab focus unless currently hidden

1.4.0.0

* Add ability to cancel using return flag or callback function
* Don't lose bar properties if the window gets closed
* Prevent the window being accidentally clobbered

1.3.0.0

Fix highlight markers at 10% intervals (were wrong way round)
Shade background

1.2.0.0

2010-05-12: Significant (~20%) speed improvement

1.0.0.0