title: Parsing XML strings in MATLAB
body: <p>I need to parse an XML string with MATLAB (caution: without file I/O, so I don't want to write the string to a file and then read them). I'm receiving the strings from an HTTP connection and the parsing should be very fast. I'm mostly concerned about reading the values of certain tags in the entire string</p>
  
  <p>The net is full of death threats about parsing XML with regexp so I didn't want to get into that just yet. I know MATLAB has seamless java integration but I'm not very java savvy. Is there a quick way to get certain values from XML very very rapidly?</p>
  
  <p>For example I want to get the 'volume' information from this string below and write this to a variable.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&gt;
  
  
  &lt;root&gt;
    &lt;volume&gt;256&lt;/volume&gt;
    &lt;length&gt;0&lt;/length&gt;
    &lt;time&gt;0&lt;/time&gt;
    &lt;state&gt;stop&lt;/state&gt;
    ....
  </code></pre>