title: Read a string with spaces into MATLAB from a file
body: <p>In my text file I have several lines of input in the following format</p>
  
  <pre><code>Arun 3 4.0 Text
  </code></pre>
  
  <p>where Text can be a string of several words separated by spaces.  </p>
  
  <p>I want to read this into MATLAB such that I get a 4xn matrix, where Arun, 3, 4.0, Text should be the four fields for each entry in the Result Matrix.  </p>
  
  <p>I tried using <code>fscanf</code>, but <code>fscanf</code> assumes that the different terms are space separated.   </p>
  
  <p>So in the above example, if Text was say "Hello World", then <code>fscanf</code> returns 5 items  </p>
  
  <pre><code>[Arun, 3, 4.0, Hello, World]
  </code></pre>
  
  <p>but what I want is something like  </p>
  
  <pre><code>[Arun, 3, 4.0, Hello World]
  </code></pre>
  
  <p>So, how do I achieve this in Hadoop?</p>