Rank: 73960 based on 0 downloads (last 30 days) and 0 file submitted
photo

Philipp Pruefer

E-mail
Company/University
Oceanlinx

Personal Profile:

Electronics Engineer


 

Watch this Author's files

 

Comments and Ratings by Philipp Pruefer
Updated File Comments Rating
22 Jun 2009 waitbar with time estimation Estimated remaining, elapsed time, and percentage complete. Author: Andrew

Great tool! The only prob I had was dealing with zero progress. My solution is:

% 2.2 - Calculate the estimated time remaining
e_mes = datestr(elap/86400,'HH:MM:SS');
if progress~=0
sec_remain = elap*(1/progress-1);
r_mes = datestr(sec_remain/86400,'HH:MM:SS');
else
r_mes = ('--:--:--');
end

Not sure why I had the prob only after a fresh start of Matlab though...

Contact us