资源简介
This package is used for calling r language from matlab Most of the files already exist on the Internet But I wrote five to complement this package
1 In R enter:
>install packages "rscproxy"
2 Install statconnDCOM latest
3 Download the Matlab R Link toolbox
Unzip MATLAB RLINK then paste MATLAB RLINK in Matlab"s toolbox folder or whatever folder you want Be sure to add MATLAB RLINK to your Matlab path
4 Use template and function
In the content of matlab2r m
there"s a line: matlab2r "y x^2" "x" "y" ;
The general form is:
matlab2r command input variables output variables ;
In case of multi variables or multi commands use
matlab2r "Rcommand1;Rcommand2; " {"variable1" "variable2" } {"variable1" "variable2" } ;
And write your matlab codes in other places ">This package is used for calling r language from matlab Most of the files already exist on the Internet But I wrote five to complement this package
1 In R enter:
>install packages "rscproxy"
2 Install statconnDCOM latest
3 Download the Matlab R Link toolbox
Unzip MATLAB [更多]
代码片段和文件信息
%% Open R
[statusmsg] = openR;
if status ~= 1
disp([‘Problem connecting to R: ‘ msg]);
end
%% matlab codes
x=1:1:10;
%% R codes
matlab2r(‘y=x^2;z=x;‘{‘x‘}{‘y‘‘z‘});
%% matlab codes
plot(xyxz);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6525 2015-03-20 14:57 matlab_R\MATLAB_Rli
文件 215 2015-03-17 18:32 matlab_R\matlab2r_template.m
文件 850 2015-03-20 14:57 matlab_R\readme.txt
文件 7282179 2015-03-17 11:49 matlab_R\statconnDCOM.latest.exe
目录 0 2015-03-20 14:57 matlab_R\
相关资源
- MATLAB模拟MZM实现OOK和BPSK
- ICP_matlab
- 波导MATLAB仿真
- 使用matlab对5G进行开发指南与白皮书
- libmwins.so
- 基于matlab的坐标转换系统设计与实现
- 用matlab求解单摆模型
- 光学Matlab模拟
- matlab读取SAC类文件函数
- TE过程matlab
- 模式识别与智能计算-Matlab技术实现(
- bm3d的matlab代码
- Matlab形态学处理
- 基于matlab水果识别
- WNNM加权核范数最小化进行图像复原
- 一种基于Matlab的语音信号采集与分析
- Matpower6.0
- CNN卷积神经网络图像识别matlab
- EKF-UKF-PF 扩展卡尔曼-无迹卡尔曼-粒子
- 杨氏双缝干涉实验matlab模拟
- 基于matlab的MPEGVideo压缩算法程序
- 有关同态滤波的相关资料及matlab代码
- GPS定位程序代码
- 丹麦理工大学MATLAB编写的超声声场仿
- matlab初学教程超详细
- 基于MATLAB的语音识别简明代码完整版
- matlab 车牌定位与分割 详细注释
- matlab实现一维和二维离散小波变换,
- 检索视频中运动的点并计算线速度角
- BM3D matlab
评论
共有 条评论