MWMCR Type Initialization exception
Afficher commentaires plus anciens
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 commentaires
Kaustubha Govind
le 16 Nov 2011
Have you already installed the MCR?
Kaustubha Govind
le 16 Nov 2011
Also, make sure that the $mcrroot/runtime/$arch/ folder has been added to the system path.
Chandra
le 16 Nov 2011
Chandra
le 16 Nov 2011
Réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!