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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Write COM Applications to Work with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2019년 7월 10일

답변:

2019년 10월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by