saveR('FILENAME') saves all 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 #5051) or if you wish to use JAGS (http://sourceforge.net/projects/mcmc-jags), for instance.
引用格式
Jeroen Janssens (2026). saveR (https://ww2.mathworks.cn/matlabcentral/fileexchange/28370-saver), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Workspace Variables and MAT Files >
- MATLAB > External Language Interfaces > Other languages > R Language >
在 Help Center 和 MATLAB Answers 中查找有关 Workspace Variables and MAT Files 的更多信息
标签
致谢
参考作品: MATLAB R-link
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |
