4.5

4.5 | 10 ratings Rate this file 25 downloads (last 30 days) File Size: 4.09 KB File ID: #1255

timebar

by Chad English

 

18 Jan 2002 (Updated 12 Mar 2002)

Code covered by BSD License  

Similar to waitbar, but with estimated time remaining and progress percentage.

Download Now | Watch this File

File Information
Description

TIMEBAR is a progress window, similar to waitbar, that shows the progress of calculations using a sliding bar, a displayed percentage complete, and an estimated time remaining.

The estimated time remaining is calculated linearly using only the initialized time, the current time, and the percent progress. It assumes a constant rate of progress.

The user can also define a displayed message (e.g., to indicate what process is being monitored) as well as a window title.

Acknowledgements
This submission has inspired the following:
WORKBAR, spec file reader, MULTIBAR
MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (10)
26 Nov 2002 Christian Ribe

Nice just what i was looking for!
Thanks Chad.

29 Nov 2002 Fabio Murra

The bar is pretty neat but it slows calculations incredibly even at very small update rates

29 Apr 2003 Lei Wang

Very useful. It can show both time and progress information!
Excellent!

08 Oct 2003 Rogério Paulo Rodrigues

Excellent, I use this for large files compilations. It gives you the idea of how much time it still miss and if the computer is blocked or not.

21 Apr 2004 Ryan O'Hara

This bar is terrific...no discernible decrease in computuational speed was really seen. Now I know whether to go get a cup of coffee or got to lunch!

14 May 2004 Ali Ozgun Ok

Nice bar!!! thanks...

22 May 2004 shoa jakson

better than waitebar

09 Aug 2006 nadia a

This progress bar is great! It really helps improving my GUI. It would be better if there is a Cancel button included in case user attempts to stop the process. Thanks a lot! I'll be using it for my masters research and I'll quote you as the source :)

10 Nov 2006 Metin S

Works great.. Only 3 lines of code to get it to work..

13 May 2008 Christal Hu

Hi, may i know how to integrate this bar into GUI which does audio file playing? I'm thinking of knowing how much time elapsed n progress in the audio file, similiar to window media player. Thank you!

Please login to add a comment or rating.
Updates
11 Mar 2002

Added an update rate option, with a default of 0.1 seconds.

Tag Activity for this File
Tag Applied By Date/Time
gui tools Chad English 22 Oct 2008 06:40:29
example Chad English 22 Oct 2008 06:40:29
time Chad English 22 Oct 2008 06:40:29
estimate Chad English 22 Oct 2008 06:40:29
progress Chad English 22 Oct 2008 06:40:29
waitbar Chad English 22 Oct 2008 06:40:29
utilities gui tools Chad English 22 Oct 2008 06:40:29
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com