.dll files are not running in matlab.

조회 수: 4 (최근 30일)
Mohammad Shahjahan
Mohammad Shahjahan 2016년 4월 22일
댓글: kyaw han 2023년 10월 25일
I am trying to call a .dll file in my Matlab code, but getting error:
pawavplayw(y, device, fs, 0, 0, 0, -1);
Undefined function or variable 'pawavplayw'.
The pawavplayw file is a .dll file and is present in the current directory:
The code is working fine, except the above function call. Please help me to solve this.

답변 (2개)

Geoff Hayes
Geoff Hayes 2016년 4월 24일
Mohammad - are you loading this shared library into MATLAB? Is this a C/C++ library? See load C/C++ shared library into MATLAB for details on how to do this.

Philip Borghesani
Philip Borghesani 2016년 4월 25일
It looks like those dlls might be old mex files. Mex files used the .dll extension in older 32 bit versions of MATLAB on Windows. If these dll files are mex files then you will need to compile them again from source code to use with a 64 bit version of MATLAB.
  댓글 수: 2
Alfred Huang
Alfred Huang 2020년 9월 2일
Hi Philip Borghesani, long shot but trying my luck here. May I know how can the above mentioned by you be done? I'm dealing with a .dll file which seem like a mex file from almost 2 decades ago.
Thanks.
kyaw han
kyaw han 2023년 10월 25일
Hello Alfred Huang. I am getting into the same situation now. Inherited old .dll files written in 2005. Have you found a solution? Thanks!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by