GUI STANDALONE NOT WORKING WELL
古いコメントを表示
HI, I've created a GUI (on windows XP) which uses serial communication with an external system. running it on my computer with the matlab installed 2012A everything works well.
run DEPLOYTOOL and entered the m file and the fig file. got a FOLDER with 2 subdolders: distr and src. NOR SURE OF THE DIFFERENCE as they both have an EXE file
i downloaded an MCR for 2012a from mathworks and installed it on another computer.(windows 7)
launched the EXE file. connected the serial communication and when i try to use different buttons i get like an ERROR SOUND BEEP and accordingly nothing happens...
tried it on a 3'rd computer (windows 10) same problem
any ideas?
7 件のコメント
Daniel
2016 年 7 月 27 日
Adam
2016 年 7 月 27 日
If you run from the command line or build it with a log file you can see the error message that goes with the beep either in the command window or in the log file.
Daniel
2016 年 7 月 27 日
編集済み: Walter Roberson
2016 年 7 月 27 日
Adam
2016 年 7 月 27 日
Well, I have no idea what that mex file is, but it sounds like it is invalid for whatever reason.
Adam
2016 年 7 月 27 日
Is the mexw32 itself included in the deployment? I notice it is a 32-bit mexw32 which could be the problem. I'm not too familiar with 32-bit vs 64-bit and what is compatible with what, but I think Matlab stopped support for 32-bit in a recent release of the software.
Daniel
2016 年 7 月 27 日
回答 (1 件)
Walter Roberson
2016 年 7 月 27 日
0 投票
In situations such as this it is common for the problem to turn out to be a missing Microsoft Runtime Redistributable. You would typically use a program such as Dependency Walker to track down what is required.
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!