Regarding Creation of an exe from matlab
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Titus Edelhofer
el 13 de Mayo de 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
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!