Info
This question is closed. Reopen it to edit or answer.
read data from R
3 views (last 30 days)
Show older comments
Hello, I have a question concerning reading data from R. In R, the data is written as follows x[[i]]$data, i varies from 1 to 10000. I know that one can use the writeMat function to write the variables in R to *.mat file, however, the function requires to indicate the name of the variables. I simply can not do that 10000 times. My expected results in matlab should look like matdata{i} (with matdata{i}= x[[i]]$data, i=1,...,10000). Any suggestion is welcome. Thank you in advance. best regards. Chu
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!