Has anyone had any experience using MATLAB Application Type Library,
mlapp.tlb, imported in a C# project? I am having some difficulties
making this work, it should be easy as pie.. There's this fundamental class, MlAppClass, which works fine up to a point, when you make an instance of it, MATLAB Command Window opens, but trying anything else fails miserably and causes this:
"An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll
Additional information: QueryInterface for interface mlapprcw.DIMLApp failed."
(mlapprcw is the result of "TLBImp.exe mlapp.tlb")
I'm probably asking for too much, but could anyone perhaps look
into it, please? All I need is passing arrays and drawing commands