Hi,
I would like to open a LabVIEW generated dll file in MATLAB. I have a sub VI in LabVIEW to open a file, giving a 2 dimensional double array. Using LabVIEW application builder I created a dll file. I can call this dll file from MATLAB (using calllib). The calllib function only works if the result is a single number. However, this method doesn`t work for a 2 dimensional array. When I try it with a 2 dimensional array I get the error message: "No method with matching signature."
I am interested if anyone has tried this method before?

댓글 수: 1

Philip Borghesani
Philip Borghesani 2017년 1월 16일
You are going to need to give us a bit more information before we can help. At least some of the information below is needed.
  • What is the contents of the header file you are using for the function you wish to call
  • What does libfunctions libname -full show for the function you wish to call
  • What matlab code did you try to call the function?
  • Were there any warnings when loading the library?
  • Some information on expected input and output arguments to the function when arguments are pointers.
Advanced debugging for loadlibrary warnings and when libfunctions does not show the expected types:
  • Generate a prototype file for the header and post the relevant lines from it for the function you wish to call.

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

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 LabVIEW에 대해 자세히 알아보기

질문:

2017년 1월 15일

댓글:

2017년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by