MLApp Class not registered error
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mostafa Koraei
le 10 Juil 2019
Réponse apportée : Mostafa Koraei
le 2 Oct 2019
Hi All,
I am writing a program and calling MATLAB from VS.net C#.
The had worked well until yesterday.
Since yesterday I get following error(unhandled exception during runtime)
at the line MLAppMLApp.MLApp matlab = new MLApp.MLApp();
the error is :
System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {0C4A9B69-D348-4167-8456-C60532821B6E} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).'
Anyone knows how to solve this problem?
1 commentaire
Mitchell McKay
le 6 Août 2019
I have the same problem. Is anyone going to provide a response to this?
Réponse acceptée
Plus de réponses (1)
Daniel Hediger
le 30 Sep 2019
Hi Mostafa,
Did you try this?
Register MATLAB as matlab COM server:
Cheers,
Daniel
0 commentaires
Voir également
Catégories
En savoir plus sur Write COM Applications to Work with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!