What I have to do to create a .exe from a .m and .fig in which I acquire and send data from a USB-6002 National Instruments device? My .m and .fig files work perfectly in Matlab, but when I create the .exe the program doesn't recognize the device.
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I have created a GUI in which I acquire and send data from the National Instruments USB-6002. When I run the .m and .fig files in Matlab, it works perfectly, recognizing the device properly. Then, I create a .exe with the deploytool and when I execute it the program doesn't recognize the device.
Why can happen this? is there any file that I should add when I build that I am not adding now? I attach the .m as the main file and two pictures and the .fig in the shared resources and helper files.
Please I would appreciate if someone could help me because the program works properly in matlab but I can not supply it to my client because I do not have the .exe.
Thank you very much,
Mhl.
0 件のコメント
回答 (2 件)
Georg Gamauf
2016 年 9 月 21 日
Hello Marina!
I have almost the same problem using a "Pico Technology Picoscope 4824". I cannot answer your question, but i'm sure it would be helpful to get more information about the errors you get. You can get the error messages while running the .exe file outside of matlab by unchecking the "Do not display the Windows Command Shell (console) for execution" during the application compilation process in MatLab - you find it under "Additional Runtime Settings". I guess that some drivers (or anything like that; .dll files for example) are missing.
Best wishes, Georg
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で National Instruments Frame Grabbers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!