Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getVariable.Matlab

Gets one or several MATLAB variables


Description

Gets one or several MATLAB variables from the MATLAB server. The transfer of the data can be done locally via a temporary file (remote = FALSE) or through the socket connection (remote = TRUE), which is always available.

Usage

## S3 method for class 'Matlab'
getVariable(this, variables, remote=this$remote, ...)

Arguments

variables

String vector of MATLAB containing names of variable that are to be retrieved from the MATLAB server.

remote

If TRUE the variables are transferred on the socket connection, otherwise they are transferred via a temporary file.

...

Not used.

Value

Returns a list structure containing the MATLAB variables as named values.

Author(s)

Henrik Bengtsson

See Also

For more information see Matlab.


R.matlab

Read and Write MAT Files and Call MATLAB from Within R

v3.6.2
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph], Andy Jacobson [ctb] (Internal MAT v4 reader), Jason Riedy [ctb] (Support for reading compressed files, sparse matrices and UTF-encoded strings.)
Initial release
2018-09-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.