write a multiple list in single mat file

I have one .Mat File Which is look like as shown in image (MatFile1) after importing in Rstudio and i have to create exactly same .mat file using Different data. i try and i got result like the same using lists (Matfile). but i am not able to write that lists in same format in .mat file.

How to write .mat file using that lists?

MatFile
Matfile1

Hello,

Have you tried saving the data using specific functions? Here are two packages that might help:

writeMat from the R.matlab package
https://www.rdocumentation.org/packages/R.matlab/versions/3.6.2/topics/writeMat

write.mat from the rmatio package
https://www.rdocumentation.org/packages/rmatio/versions/0.14.0/topics/write.mat

Hope this helps,
PJ

I try this but when i try to write that list in .mat format it merges and become single list and then format change

Its list of lists. how to apply write.mat or writeMat for this??

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.