I am working on a simulation in unity.....the application have to take data from matlab. To do this I have create a dll in matlab with the deploytool command and I have create a .NET Assembly dll. When I import this dll in a standalone c# application this works correctly.....when I use this dll in a unity c# script it doesn't works....unity give me this error:
NotImplementedException: The requested feature is not implemented.
System.Security.Principal.WindowsIdentity.GetCurrent (Boolean ifImpersonating) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs:166)
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (System.String functionName, Int32 numArgsOut, Int32 numArgsIn, MathWorks.MATLAB.NET.Arrays.MWArray[] argsIn)
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction (Int32 numArgsOut, System.String functionName, MathWorks.MATLAB.NET.Arrays.MWArray[] argsIn)
MathWorks.MATLAB.NET.Utility.MWMCR.setBuilderUserData ()
MathWorks.MATLAB.NET.Utility.MWMCR..ctor (System.String componentId, System.String componentPath, System.IO.Stream embeddedCtfStream, Boolean isLibrary)
I am using Visual Studio 2015 and in my Unity game i have imported my dll and MWArray.dll..... What is the problem??How I can resolve it??
↧