MLApp Class not registered error

1 回表示 (過去 30 日間)
Mostafa Koraei
Mostafa Koraei 2019 年 7 月 10 日
回答済み: Mostafa Koraei 2019 年 10 月 2 日
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 件のコメント
Mitchell McKay
Mitchell McKay 2019 年 8 月 6 日
I have the same problem. Is anyone going to provide a response to this?

サインインしてコメントする。

採用された回答

Mostafa Koraei
Mostafa Koraei 2019 年 10 月 2 日
Hi Again,
I could solve my problem by using same malab release on the VS application.
The problem was that the COM was registered but the release was different from the
COm that my program in the VS.net was using.
Thanks Matlab support :)
Mostafa

その他の回答 (1 件)

Daniel Hediger
Daniel Hediger 2019 年 9 月 30 日
Hi Mostafa,
Did you try this?
Register MATLAB as matlab COM server:
Cheers,
Daniel

カテゴリ

Help Center および File ExchangeWrite COM Applications to Work with MATLAB についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by