title: How to read a v7.3 mat file via h5py?
body: <p>I have a struct array created by matlab and stored in v7.3 format mat file:</p>
  
  <pre><code>struArray = struct('name', {'one', 'two', 'three'}, 
                     'id', {1,2,3}, 
                     'data', {[1:10], [3:9], [0]})
  save('test.mat', 'struArray', '-v7.3')
  </code></pre>
  
  <p>Now I want to read this file via python using h5py:</p>
  
  <pre><code>data = h5py.File('test.mat')
  struArray = data['/struArray']
  </code></pre>
  
  <p>I have no idea how to get the struct data one by one from <code>struArray</code>:</p>
  
  <pre><code>for index in range(&lt;the size of struArray&gt;):
      elem = &lt;the index th struct in struArray&gt;
      name = &lt;the name of elem&gt;
      id = &lt;the id of elem&gt;
      data = &lt;the data of elem&gt;
  </code></pre>