Methods readMat() and writeMat() for reading and writing MAT files. For user with MATLAB v6 or newer installed (either locally or on a remote host), the package also provides methods for controlling MATLAB (trademark) via R and sending and retrieving data between R and MATLAB.
open.Matlab
(Package: R.matlab) :
Tries to open a connection to the MATLAB server
Tries to open a socket connection to the MATLAB server. If the connection could not be opened it the first time it will try to open it every interval second up to trials times.
readMat
(Package: R.matlab) :
Reads a MAT file structure from a connection or a file
Reads a MAT file structure from a connection or a file. Both the MAT version 4 and MAT version 5 file formats are supported. The implementation is based on [1-5]. Note: Do not mix up version numbers for the MATLAB software and the MATLAB file formats.