Skip to content
Prev 139632 / 398506 Next

driving R from MATLAB

Moshe Hoshen <moshe_ho <at> rosettagenomics.com> writes:
..
I am not using it with Matlab, but quite extensively with C#. The somewhat
strange error message you noted "Object is static" has always been an error in
the script.     

When I am sure that the script works Ok when run separately, it frequently has
to do with the current directory being different when run with RDCOM and from
GUI. Therefore I explicitly set the working directory at the top of all scripts,
or get is from an environment string.

The most helpful tool is a character device in my application that outputs the R
string directly, so I immediately see what the cryptic "Object is static" means.

Dieter