I am compiling MATLAB code to a .NET dll that is called
from VB. The compilation is successful. However, when the
dll is called, the following errors are given:
The type initializer for 'MyFun.MyFunclass' threw an
exception.
The type initializer
for 'MathWorks.MATLAB.NET.Arrays.MWArray' threw an
exception.
The machine running the dll does not have MATLAB, but is
using the MCR (ver 7.8) and MWArray which I provided from
my MATLAB installation (R2008a). It is also using the dll
and ctf I provided from the compilation distrib directory.
The code itself works properly, and the compilation is
successful.
Any advice?
|
|
0
|
|
|
|
Reply
|
babakb (2)
|
7/2/2008 6:10:04 PM |
|