Why does MATLAB 7.5 (R2007b) fail to start as an ActiveX / COM Server or show an error?

I am trying to use MATLAB 7.5 (R2007b) from another program. I do this through the automation server interface or through the MATLAB Engine. Both use ActiveX and I receive the following error:
Can't start MATLAB engine

 Accepted Answer

This problem can be related to the wrong MATLAB version or no MATLAB version at all being registered as the default Automation Server. To work around this issue, re-register MATLAB as an automation server by executing the following command from the MATLAB Command Window:
!matlab -regserver

1 Comment

Hi Alex
I understand you have a question on registering MATLAB as an automation server.
Please refer to the documentation link below that discusses about Registering MATLAb as an automation server using "matlab -regserver".
Alternatively you could use "regmatlabserver" command to register MATLAb as an Automation server from within MATLAB.
Feel free to MathWorks Technical Support in case of further questions.
Thanks
Usha

Sign in to comment.

More Answers (0)

Products

Release

R2007b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!