필터 지우기
필터 지우기

Make .NET dll from a function that uses MEX-Files

조회 수: 1 (최근 30일)
Peyman Ghasemi
Peyman Ghasemi 2017년 10월 29일
Hi all;
I want to create a .NET dll from my MATLAB code to use it in a C# .NET program. Problem is that I have used some MEX-Files in my MATLAB code and when I create .NET dll and use it in the C#, I got this error:
An unhandled exception of type 'System.Exception' occurred in MWArray.dll
Additional information:
System.Exception was unhandled
HResult=-2146233088
Message=
... MWMCR::EvaluateFunction error ...
Invalid MEX-file 'C:\Users\ETCCO5\AppData\Local\Temp\PG\mcrCache9.1\TestME0\Users\ETC_pc\Desktop\kyamagu-mexopencv-8d109eb\+cv\adaptiveThreshold.mexw64': The specified module could not be found..
Error in => TestMEXinDLL.m at line 5.
... Matlab M-code Stack Trace ...
at
file C:\Users\PG\AppData\Local\Temp\ETCCO5\mcrCache9.1\TestME0\TestMEXinDLL\TestMEXinDLL.m, name TestMEXinDLL, line 5.
Does anyone knows about this? In fact, is that possible to make dll from functions using MEX-files?
Regards;
Peyman

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by