MWMCR Type Initialization exception
이전 댓글 표시
Hi, I have created a .NET DLL using Matlab build and assembly type as .NET Assembly. Then from Console application I am trying to refer the .NET DLL object as: MLTestClass obj = null; obj = new MLTestClass();
At the second line I get 'Type Initializer Exception of MWMCR' Exeption : Com.Demo.MLTestClass..ctor()...
I have deployed MWArray using GACUTIL.
Thanking you in advance!
댓글 수: 4
Kaustubha Govind
2011년 11월 16일
Have you already installed the MCR?
Kaustubha Govind
2011년 11월 16일
Also, make sure that the $mcrroot/runtime/$arch/ folder has been added to the system path.
Chandra
2011년 11월 16일
Chandra
2011년 11월 16일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!