Main Content

Register MATLAB as a COM Server

To run the engine application on a Windows® operating system, you must register MATLAB® as a COM server. Register MATLAB 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.

Related Topics