If an error occurred in MATLAB an exception will be thrown. This
exception can be caught by tryCatch().
If you receive error message Expected an 'answer' from MATLAB, but kept receiving nothing, see "Troubleshooting" under ?R.matlab.
## S3 method for class 'Matlab':
evaluate(this, ..., collapse=";", capture=FALSE)collapse.TRUE, MATLAB output is captured into a string,
otherwise not.Matlab.