GUI STANDALONE NOT WORKING WELL

1 view (last 30 days)
Daniel
Daniel on 27 Jul 2016
Edited: Daniel on 1 Aug 2016
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 Comments
Adam
Adam on 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
Daniel on 27 Jul 2016
I am using matlab 2012a... I have no idea whats the problem and if it really is a matter of 32 vs 64.
I have a feeling that the step command i use is the problem. Doas Anyone has a clue? Help...

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 27 Jul 2016
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.
  7 Comments
Daniel
Daniel on 31 Jul 2016
i keep updating this post for the people who will encounter the same problem. i wrote the CRC function myslef, i.e. not using the STEP command. now to executable seems to work on other computers.
the issue now is that the EXE works fine when i run it from a prompt command but doesn't work well when i run it from the windows...
Daniel
Daniel on 1 Aug 2016
Edited: Daniel on 1 Aug 2016
hopefully last update, made the executable from a 2015 matlab version on a 64bit computer and now it runs on a 64bit computer with no matlab... not sure why all the mess, not sure why a 32bit comp generating EXE will run on some 64bit comps and others wont... a lot of chaos and uncertainty, mainly a trial and error approch

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!