I write a .mat file using the writeMat() command, but when i try to load it
in Matlab it says that  file may be corrupt. I did it a month ago and it
worked. It exists any option that I can change for making the file readable
to Matlab?

> A  <-  c(1:10)
> dim(A) <- c(2,5)
> library(R.matlab)
> writeMat('A.mat', A=A)

And what matlab say is:
"file may be corrupt"

Regards

        [[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