필터 지우기
필터 지우기

Error using loadlibrary when trying to load dll

조회 수: 7 (최근 30일)
light_dark
light_dark 2017년 4월 23일
답변: Philip Borghesani 2017년 4월 26일
I'm trying to use Dr. Kadir's NP windows code. He says it's MATLAB code written in C/C++ and there are .m and .dll files. More specifically, I'm trying to use PDF1DLinear. But when I do loadlibrary('PDF1DLinear'), I get an error: Undefined function or variable 'PDF1DLinear_proto'. Am I not loading the library properly? Am I missing a file?

답변 (2개)

Prashant Arora
Prashant Arora 2017년 4월 26일
To load a library, you will need a header file specifying the signatures of the functions used in the DLL.

Philip Borghesani
Philip Borghesani 2017년 4월 26일
Those are old mex files probably for a version of MATLAB before R2007a. If you have an old 32 bit version of MATLAB you may be able to get them to work otherwise contact the author for the source and rebuild them for a current version of MATLAB.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by