title: Saving data in MAT format in C#
body: <p>I need to save some data in C#.NET and then access them with MATLAB for further process. Is there a way to create the .mat file in C#?</p>
  
  <p>The data I am trying to save are as follows in xml format:</p>
  
  <pre><code>&lt;HandData&gt;
     &lt;HandPoint X="0" Y="0" Z="954.1804" /&gt;
     &lt;Handrectangle X="-70" Y="-70" Width="140" Height="140" /&gt;
     &lt;Skeleton&gt;
         &lt;Line X="-25" Y="-3" /&gt;
         &lt;Line X="-24" Y="-2" /&gt;
         ....
     &lt;/Skeleton&gt;
  &lt;/HandData&gt;
  </code></pre>