c# - dotnet compiled matlab code in matlab -
for 1 of our projects migrated matlab codebase .net. of code reprogrammed, once function decided complicated instead used matlab dot net compiler generate dll can invoke c# code.
so far good, c# code runs fine.
however, legacy matlab code requires run, need access newly migrated functionality matlab.
i add dll's matlab using net.addassembly(..) command, works of pure c# code base, fails when compiled matlab function invoked:-
- the type initializer 'mathworks.matlab.net.arrays.mwnumericarray' threw exception.
- innerexception: type initializer 'mathworks.matlab.net.arrays.mwarray' threw exception.
- innerexception type initializer 'mathworks.matlab.net.utility.mwmcr' threw exception.
- innerexception trouble initializing libraries required builder ne.\n
any ideas whats going wrong here?
Comments
Post a Comment