Regarding Creation of an exe from matlab

1 vue (au cours des 30 derniers jours)
KarthiK Krishna Kumar
KarthiK Krishna Kumar le 13 Mai 2011
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.

Réponses (1)

Titus Edelhofer
Titus Edelhofer le 13 Mai 2011
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

Catégories

En savoir plus sur Testing Frameworks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by