Publisher review:FWAITBAR displays timer controlled wait bar for working with files. Creates and displays a waitbar depending on the file position indicator(FID). Due to the fact that the waitbar updates automatically via timer function it is not necessary to update it manually in each cycle of the loop.H = FWAITBAR(FID) initializes the waitbar due to file identifier obtained from FOPEN. The length of the bar will compute due to file position indicator obtained from FTELL.The handle to the waitbar figure is returned in H.FWAITBAR(FID,'message') initializes the wait bar with a specified message.FWAITBAR is typically used outside a FOR/WHILE loop that performs a lengthy operation with readout of files.Examplefid=fopen('fopen.m');fwaitbar(fid);while 1tline = fgetl(fid);if ~ischar(tline), break, enddisp(tline)pause(0.05)endfclose(fid); Requirements: ยท MATLAB Release: R2006b
FWAITBAR is a Matlab script for Development Tools scripts design by Elmar Tarajan.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris