Regarding Creation of an exe from matlab

조회 수: 1 (최근 30일)
KarthiK Krishna Kumar
KarthiK Krishna Kumar 2011년 5월 13일
Hi,
I am developing an test program to test a specific hardware. the program communicates with the DUT via .dll and its header file(load library). I have created an interactive GUI and had made provisions to accept the .dll and .h file through the gui. Now when i test my code as a matlab file its running perfectly no errors or warnings. However when i convert it back to an .exe file using deploy tool, it shows problem reading the "dwdio.dll" and .h file. Suits up an error that some function or variable named "dwdio_proto" is missing. I am not able to find a variable or function by that name inside the dwdio.dll file.
So kindly advice the actions which might cause such error and steps i need to do to read a dll file successfully from a gui and use it in loadlibrary function.
Thanks in advance, Karthik.

답변 (1개)

Titus Edelhofer
Titus Edelhofer 2011년 5월 13일
Hi,
not sure, but I guess the following: you might create the prototype file using the option "mfilename" of loadlibrary. Add this file to your deployment project.
Titus

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by