jeroenjanssens / saveR

Save MATLAB workspace variables to an R data file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

saveR

Save MATLAB workspace variables to an R data file.

saveR('FILENAME') saves all MATLAB workspace variables to the "R-file" named FILENAME.

saveR('FILENAME', 'X', 'Y', 'Z') saves X, Y, and Z.

saveR can handle scalars, vectors, matrices, and cell arrays of strings. NaN's are saved as NA. Since R cannot handle structures, they will not be saved and a warning will be given.

Useful if you do not wish to load variables directly in R using a COM based interface (using MATLAB R-link) or if you wish to use JAGS, for instance.

Also available on MATLAB File Exchange.

Licence: BSD

About

Save MATLAB workspace variables to an R data file

License:BSD 2-Clause "Simplified" License


Languages

Language:MATLAB 100.0%