title: Writing from MATLAB to Excel with ActiveX
body: <p>I was wondering if there was a way of using the <strong>Cell</strong> function rather than <strong>Range</strong> with MATLAB's ActiveX commands? Perhaps someone has a solution to my problem. I have many lists of data and all of varying sizes, for example:</p>
  
  <pre><code>List 1 has 10
  List 2 has 13
  List 3 has 3
  ...
  </code></pre>
  
  <p>I would like to take that data and export it to a new sheet in Excel from MATLAB.  I can do it with the <strong>Range</strong> function but this is way too long.  If I had the <strong>Cell</strong> function I would be able to look up the length of <code>List x</code> and tell it to loop over the length of the list and move down one cell.</p>
  
  <p>If anyone has another solution I would appreciate the answer.<br>
  Thanks in advance</p>