| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
#include "engine.h" Engine *engOpenSingleUse(const char *startcmd, void *dcom, int *retstatus);
String to start MATLAB process. On Microsoft Windows systems, the startcmd string must be NULL.
Reserved for future use; must be NULL.
Return status; possible cause of failure.
Pointer to an engine handle, or NULL if the open fails.
This routine is not supported on UNIX systems and simply returns.
This routine allows you to start multiple MATLAB processes for the purpose of using MATLAB software as a computational engine. engOpenSingleUse starts a MATLAB process, establishes a connection, and returns a unique engine identifier, or NULL if the open fails. engOpenSingleUse starts a new MATLAB process each time it is called.
engOpenSingleUse opens a COM channel to MATLAB. This starts the MATLAB software that was registered during installation. If you did not register during installation, on the command line you can enter the command:
matlab /regserver
engOpenSingleUse allows single-use instances of a engine server. engOpenSingleUse differs from engOpen, which allows multiple users to use the same engine server.
See Introducing MATLAB COM Integration for additional details.
[1] UNIX is a registered trademark of The Open Group in the United States and other countries.
![]() | engOpen (C and Fortran) | engOutputBuffer (C and Fortran) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |