gistlib
main.mfid = fopen('myfile.txt','r'); while ~feof(fid) line = fgetl(fid); % Add your code here to process the current line end fclose(fid); 141 chars7 lines
fid = fopen('myfile.txt','r'); while ~feof(fid) line = fgetl(fid); % Add your code here to process the current line end fclose(fid);
gistlibby LogSnag