title: Using fscanf to read tab delimited text file in Matlab
body: <p>I have a .txt file that looks like this:</p>
  
  <pre><code>   Value1   Value2   Value3   Value4
      0.558    0.834    0.521    0.125
      0.543    0.800    0.231    0.222
   1.85E-01  8.0E-01  1.3E-01    0.521
   1.23E-01    0.777    0.232    0.552
    .......    .....    .....    .....
  </code></pre>
  
  <p>The file goes on to an unknown number of lines. I would like to read in all the values using <code>fscanf</code>, <strong>excluding</strong> the headers. I have tried the following so far:</p>
  
  <pre><code>fscanf(fid, '%9f %9f %9f %9f %9f %9f %9f %9f %9f %9f')
  fscanf(fid, '%9f %9f %9f %9f %9f %9f %9f %9f %9f %9f',[Inf 4])
  </code></pre>
  
  <p>All give a result of:</p>
  
  <pre><code>ans =
  
       []
  </code></pre>
  
  <p>I am relatively new to the use of this command, but feel like this should be giving me the result I am looking for. Any ideas?</p>