Problem while DLL-create with deploytool
이전 댓글 표시
Hello!
I've got a problem while create a dll-library with deploytool on Matlab 2012a (64). I need to make a dll-library with one function from M-file and after that use this function in Matlab from this dll.
I compile my M-file with deploytool into c++ shared library (Microsoft SDK compiler).
After compilation and loading this library into Matlab (loadlibrary), function libfunctionsview can't see my function, which was in M-file. But when I take a look into h-file generated by deploytool, I found decloration of this function.
Could anyone tell me, what i need to do to get this function in my library?
댓글 수: 2
Kaustubha Govind
2012년 9월 24일
Perhaps the library was not loaded correctly? Try running LOADLIBRARY with two output arguments to find out if there were problems loading it:
[notfound,warnings] = loadlibrary(...)
Alexandr
2012년 9월 25일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!