title: Massive CSV file into Matlab
body: <p>I have a CSV file 1.6 GB large, that I need to feed into matlab. I will have to do this frequently and I need it to run quickly. The file is of the form:</p>
  
  <pre><code>20111205    00:00.2 99.18   6   E
  20111205    00:00.2 99.18   5   E
  20111205    00:00.2 99.18   1   E
  20111205    00:00.2 99.195  5   E
  20111205    00:00.2 99.195  5   E
  20111205    01:27.0 99.19   5   E
  20111205    02:01.4 99.185  1   E
  20111205    02:01.4 99.185  1   E
  20111205    02:01.4 99.185  1   E
  20111205    02:01.4 99.185  1   E
  </code></pre>
  
  <p>The code I have right now is the following:</p>
  
  <pre><code>tic;
  format long g
  fid = fopen('C:\Program Files\MATLAB\R2013a\EDU13.csv','r');
  [c] = fscanf(fid, '%d,%d:%d.%d,%f,%d,%c');
  c = reshape(c, 7, length(c)/7)  
  toc;
  </code></pre>
  
  <p>But this is far too slow. I would appreciate a method of getting this CSV file into matlab in the most efficient manner possible. Thank you!</p>