I want to read data from file generated by the following code
fid = fopen('grid.dat','w');for J=1:JM for I=1:IM fprintf (fid,'%12.6f %12.6f %12.6f %12.6f %12.6f %12.6f ,%12.6f\n',X(I,J),Y(I,J),XIX(I,J),XIY(I,J),ETAX(I,J),ETAY(I,J),JJ(I,J)); endend fclose(fid);
The .txt file contains 31571 rows and 7 columns. (IM=241,JM=131) Please help!
Best Answer