title: Simplest way to read space delimited text file matlab
body: <p>Ok, so I'm struggling with the most mundane of things I have a space delimited text file with a header in the first row and a row per observation and I'd like to open that file in matlab. If I do this in R I have no problem at all, it'll create the most basic matrix and voila! </p>
  
  <p>But MATLAB seems to be annoying with this... </p>
  
  <p>Example of the text file:</p>
  
  <pre><code>"picFile" "subjCode" "gender"
  "train_1" 504 "m"
   etc.
  </code></pre>
  
  <p>Can I get something like a matrix at all? I would then like to have MATLAB pull out some data by doing <code>data(1,2)</code> for example.</p>
  
  <p>What would be the simplest way to do this?
  It seems like having to write a loop using f-type functions is just a waste of time...</p>