MATLAB Projects DISCUSSION

Export R list into Matlab cell-array

Started by syedzainnasir Export R list into Matlab cell-array
0 replies 248 views 1 participants
Latest activity · 06 Mar 2017

Export R list into Matlab cell-array

syedzainnasir MATLAB Projects Forum
#1
I have searched everywhere and I'm currently unable to find a solution to my issue.

I have a list created under Rstudio which is made of matrices list(mat1,mat2,...). What i would like to do is export that list to matlab to get a cell-array with each cell containing 1 matrix. Does anyone has any idea how to proceed ? I have used the R.matlab package already but when I import the resulting file in matlab I obtain a "structure" file which seems to be empty. following is my code to export.

W1 is my list.
[code]library('R.matlab') writeMat("W1.mat",W1export=W1)[/code] Thanks

Community replies 0

Be the first to help

There are no replies yet.

TEP COMMUNITY