Regarding Creation of an exe from matlab
1 回表示 (過去 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.
0 件のコメント
回答 (1 件)
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
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!