Home > Net >  Using Matlab in a Visual Studio2017 DLL error
Using Matlab in a Visual Studio2017 DLL error

Time:11-17

Recently doing a unity project, written in the vs2017 c #
Which written in c # I call myself Matlab DLL (very simple a + b), introduced the addNative. DLL and MWArray DLL runtime throws an exception: after

System. Exception: MWArray assembly failed to be initialized - & gt; System. NotImplementedException: The requested feature is not implemented.
Ats System. Security. Principal. WindowsIdentity. GetCurrent (Boolean ifImpersonating) x00000 [0] in/Users/builduser/buildslave/mono/build/MCS/class/corlib/System. Security. The Principal/WindowsIdentity cs: 166
The at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (System. String functionName, Int32 numArgsOut, Int32 numArgsIn, MathWorks.MATLAB.NET.Arrays.MWArray [] argsIn) x00000 [0] in & lt; Filename unknown> : 0
The at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (Int32 numArgsOut, System. String functionName, MathWorks.MATLAB.NET.Arrays.MWArray [] argsIn) x00000 [0] in & lt; Filename unknown> : 0
The at MathWorks.MATLAB.NET.Utility.MWMCR.setBuilderUserData () [0 x00000] in & lt; Filename unknown> : 0
The at MathWorks.MATLAB.NET.Utility.MWMCR.. Ctor (System. String componentId, System. String componentPath, System. IO, Stream embeddedCtfStream, Boolean isLibrary) x00000 [0] in & lt; Filename unknown> : 0
The at addNative. Add.. Cctor () [0 x00000] in & lt; Filename unknown> : 0
- End of inner exception stack trace -- -- --
The at addNative. Add.. Ctor () [0 x00000] in & lt; Filename unknown> : 0

CodePudding user response:

NotImplementedException, which means you call this stuff in this repository does not implement, is the author is not yet written the code so simply throw a "I haven't realize" exception to you, may be in the back of the updated version again,

CodePudding user response:

reference 1st floor hez2010 response:
NotImplementedException, which means you call this stuff in this repository does not implement, is the author is not yet written the code so simply throw a "I haven't realize" exception to you, may be in the back of the updated version to implementation,


And this kind of operation, good uncomfortable

CodePudding user response:

I VS no problem, but the unity t sprocket MWArry. DLL, have bosses know what's going on? The file path is in English,

CodePudding user response:

You could be a 64 - bit application reference 32-bit DLL?

CodePudding user response:

reference xjx1997 reply: 3/f
I VS no problem, but the unity t sprocket MWArry. DLL, have bosses know what's going on? The file path is in English,

I studied as unity is unable to realize the MWArray. The DLL functions

CodePudding user response:

reference 1st floor hez2010 response:
NotImplementedException, which means you call this stuff in this repository does not implement, is the author is not yet written the code so simply throw a "I haven't realize" exception to you, may be in the back of the updated version to implementation,
master!!
  •  Tags:  
  • C#
  • Related