gistlib
main.mfileID = fopen('filename.txt', 'r'); while ~feof(fileID) line = fgetl(fileID); disp(line); end fclose(fileID); 119 chars7 lines
fileID = fopen('filename.txt', 'r'); while ~feof(fileID) line = fgetl(fileID); disp(line); end fclose(fileID);
gistlibby LogSnag