title: How to convert MATLAB output into an array?
body: <p>I've made an M-file that outputs data into my MATLAB command window in the form below (I've deleted the extra spaces). Is there an easy way to convert this output into an array, without having to type all the data into the array editor as I'm currently doing? (Or even run it straight from the M-file into an array?)</p>
  
  <pre><code>T =    0.3000
  price =   24.8020
  
  T =    0.4000
  price =   28.3453
  
  T =    0.5000
  price =   31.3934
  
  T =    0.6000
  price =   34.0880
  </code></pre>