Start MATLAB engine session
This routine allows you to start a MATLAB process for using MATLAB as a computational engine.
engOpen starts a MATLAB process using the command specified in the string startcmd, establishes a connection, and returns an engine pointer.
On UNIX® systems, if startcmd is NULL or the empty string, engOpen starts a MATLAB process on the current host using the command matlab. If startcmd is a hostname, engOpen starts a MATLAB process on the designated host by embedding the specified hostname string into the larger string:
"rsh hostname \"/bin/csh -c 'setenv DISPLAY\ hostname:0; matlab'\""
If startcmd is any other string (has white space in it, or nonalphanumeric characters), MATLAB executes the string literally.
On UNIX systems, engOpen performs the following steps:
On Windows systems, engOpen opens a COM channel to MATLAB. The MATLAB software you registered during installation starts. If you did not register during installation, on the command line you can enter the command:
See MATLAB COM Integration for additional details.