Dear R users,

I am tryting to save an 3d array to a matlab file like the following.

A <- array(1:24, c(2,3,4))
writeMat(filename, A=A)

But if I load the mat file from Matlab, it is not 3d matrix anymore.
Does anyone know how I can preserve the 3d structure?
Any help will be greatly appreciated.

Minho Chae

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to