- https://in.mathworks.com/help/matlab/ref/loadlibrary.html
- https://in.mathworks.com/matlabcentral/answers/134510-how-do-i-load-dll-files-with-loadlibrary-function#:~:text=I%20need%20to%20load%20the%20dll%20files%20with,%25%20hfile%20%3D%20fullfile%20%28%27C%3AUsersmojob1DesktopdspADC_Project%27%2C%27wvdll.dll%27%29%3B%20%25%20loadlibrary%20%28%27wvdll%27%2Chfile%29
Parse arguments to DLL file and get the output in .m scripting.
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a dll file which has 2 arguments for inputs and 2 for outputs. My goal is to load this dll in a .m script and use this dll instead of writing the code again.
My question is how to load the dll in .m script.
list down all the steps.
댓글 수: 0
답변 (1개)
Biral Pradhan
2022년 8월 30일
I understand you have an external function defined in a .dll file which you want to import in a MATLAB script. I am assuming it is a C library function. MATLAB provides a function named "loadlibrary" which serves this purpose. Kindly follow the following links for better understanding.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!