title: How to get R data into a matlab matrix
body: <p>I have a large data matrix in R. I used the package <code>'R.matlab'</code> to convert the data to matlab data like so:</p>
  
  <pre><code>writeMat(con="...filepath", x=data)
  </code></pre>
  
  <p>I have no experience with matlab so please be patient with me:</p>
  
  <p>When I load the data into matlab it says I have a 1x1 struct. </p>
  
  <p>I would like to get this into a matrix form. I tried:</p>
  
  <pre><code>data=struct2cell(x) 
  </code></pre>
  
  <p>but that doesn't look quite right. The data is decimal valued numbers btw. </p>