code: def mat_convert(self, infile, item):
          
          data = sio.loadmat(infile)
          labels = self._labels(data)
          features = data['features']
          self._write(item, labels, features)
docs: Convert a Octave/Matlab file to h5features.