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

4 vues (au cours des 30 derniers jours)
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

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
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 commentaire
Usha Duddu
Usha Duddu le 7 Juin 2016
Modifié(e) : MathWorks Support Team le 11 Nov 2020
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Write COM Applications to Work with MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by