Watch this Author's files
If you use following code, then you can see the estimated process time in bar..( 'mod' is for saving the total process time)..
tic for i=1:yourprocess if mod(i,100)==0 totaltime = int32(toc*yourprocess/i); string = sprintf('Trace # %d/%d, Time = %d sec', i,... not, totaltime); waitbar(i/yourprocess,h,['' string ]); % ... % your process.... % ... end
Contact us at files@mathworks.com