Regarding Creation of an exe from matlab

2 次查看(过去 30 天)
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 中查找有关 Testing Frameworks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by