Skip to content
Prev 314172 / 398506 Next

R and Matlab

Simplest way is the call a system command,  using R CMD.
See :http://stackoverflow.com/questions/6695105/call-r-scripts-in-matlab

But there are more complicated solutions are proposed:

http://www.mathworks.co.uk/matlabcentral/fileexchange/5051
This is uses R-(D)-COM

In my opinion most robust integration can be achived via Java code that runs R.
So you can easily use that in Matlab.

On 24 December 2012 20:42, Amirehsan Ranginkaman
<aeranginkaman at gmail.com> wrote: