GUI STANDALONE NOT WORKING WELL
Ältere Kommentare anzeigen
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 Kommentare
Daniel
am 27 Jul. 2016
Adam
am 27 Jul. 2016
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
am 27 Jul. 2016
Bearbeitet: Walter Roberson
am 27 Jul. 2016
Adam
am 27 Jul. 2016
Well, I have no idea what that mex file is, but it sounds like it is invalid for whatever reason.
Adam
am 27 Jul. 2016
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
am 27 Jul. 2016
Antworten (1)
Walter Roberson
am 27 Jul. 2016
0 Stimmen
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.
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!