title: creating a .mat file from python
body: <p>I have a variable <code>exon  = [[[1, 2], [3, 4], [5, 6]], [[7, 8], [9, 10]]]</code>. I would like to create a mat file like the following </p>
  
  <pre><code>&gt;&gt;
  
  exon : [3*2 double] [2*2 double]
  </code></pre>
  
  <p>When I used the python code to do the same it is showing error message. here is my python code</p>
  
  <pre><code>import scipy.io
  exon  = [[[1, 2], [3, 4], [5, 6]], [[7, 8], [9, 10]]]
  scipy.io.savemat('/tmp/out.mat', mdict={'exon': (exon[0], exon[1])})
  </code></pre>
  
  <p>It will be great anyone can give  a suggestion for the same.
  thanks in advance
  Vipin T S</p>