title: Convert .mat files to .txt files
body: <p>Wha am I doing wrong?I need to convert .mat file (MATLAB binary format) to a .txt file so as to read it in C++ later on. I tried follwing in MATLAB:</p>
  
  <pre><code>&gt;&gt;load('file.mat')
  &gt;&gt;Conten = who;
  &gt;&gt;save('file.txt', Conten{:}, '-ascii')
  </code></pre>
  
  <p>But, it gives warning: Attempt to write unsupported data type to an ASCII file.</p>
  
  <p>What am I doing wrong? Thanks in advance...</p>