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.