evaluate.Matlab {R.matlab}R Documentation

Evaluates a Matlab expression

Description

Evaluates one or several Matlab expressions on the Matlab server. This method will not return until the Matlab server is done.

If an error occured in Matlab an exception will be thrown. This expection can be caught by tryCatch().

If you receieve error message Excepted an 'answer' from Matlab, but kept receiving nothing, see "Troubleshooting" under ?R.matlab.

Usage

## S3 method for class 'Matlab':
evaluate(this, ..., collapse=";")

Arguments

... One or several string with Matlab expressions. If several strings are given they will be concatenated with the separator collapse.
collapse Separator to be used to concatenate expressions.

Value

Returns (invisibly) NULL if expressions were evaluated successfully. An exception might also be thrown.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see Matlab.


[Package R.matlab version 1.2.6 Index]