title: Using str2num to provide a separate file representing time
body: <p>I have a data title of ABCDE_D20110507T11522323 This represents that the data was collected on the May 07 2011 at ta time (after T) at 11:52:23:23. 
  Using this script I should be able to extract this information</p>
  
  <pre><code>fnames=dir('ABCDE*.mat') 
  hour=str2num(fnames(1).data(11:18)) 
  </code></pre>
  
  <p><code>(11:18)</code> Represents the character number 
  What am I doing wrong? should I be specifying the format I want such as (HH,MM,SS) within the script?
  Thanks in advance for any help </p>