title: (MATLAB) Extracting numerical values from strings included eponential form numbers
body: <p>I have an array of strings containing mixed text and numbers, example strings provided below:</p>
  
  <pre><code>            TOTAL STRAIN ENERGY (STRESS POWER)          5.126778E-05
  
   STEP TIME COMPLETED        20.0    ,  TOTAL TIME COMPLETED         20.0    
  </code></pre>
  
  <p>I would like to extract the strain energy values as numbers, as well as the total time completed values. I've tried using scanning to find the location of the text preceeding the numbers then reading off partial strings using str = str(start:end) but this returns 0 for any length for some reason?</p>