Watch this Author's files
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');
sec_remain = elap*(1/progress-1);
r_mes = datestr(sec_remain/86400,'HH:MM:SS');
r_mes = ('--:--:--');
Not sure why I had the prob only after a fresh start of Matlab though...