I am using Matlab 2010 , 32 bit…. It is installed on a 64 bit windows 7….
All my work is done through the 32 bit domain, there is no 64 intereference. Only the destination of the file is directly on C.
I have several m files, that I compiled using Matlab compiler 4.14 (included in matlab)…. I made sure I added all the paths to the main file, and the program compiles perfectly….
I have to mention that the program runs perfectly when its directly run from matlab.
However, when I compile the program, and produce the exe file (windows standalone application), all parts of the GUI seem to be working fine, such as the open, view camera, play movie and so on….
When I press Record movie, the exe file freezes, and it shows the the file is "Not Responding". I end up "ending the task" of the exe file to exit the whole thing.
I donwloaded visual C++ , and sdk, yet did not help. I went as far as downloading java , and stilll , nothing.
What i can't get over is that the program works perfectly when run through matlab directly.
When a coding error occurs, i hear a beep in my speakers, to know the this was a coding issue. Yet i hear no beep when it is frozen.
My two questions are:
1- Previous Matlab compiler versions included the DOS so i would be able to track the error and read what happens. This is not the case in this compiler. I cant track the error, i have to depend on hearing the beep. How do i include the DOS with the launch of the exe so i would visually see the error.
2- Let say that there is no error whatsover, why does it freeze when there are no problems when executed through matlab directly?
I appreraciate all the help.
Best Answer