Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Register MATLAB as a COM Server

To run the engine application on a Windows® operating system, you must register MATLAB® as a COM server. Do this for every session, to ensure that the current version of MATLAB is the registered version. If you run older versions, the registered version could change. If there is a mismatch of version numbers, MATLAB displays Can't start MATLAB engine.

To register MATLAB manually as a server, start MATLAB as a user with administrator privilege. Then type:

!matlab -regserver

Close the MATLAB window that appears.

Was this topic helpful?