Using the MATLAB compiler
9 views (last 30 days)
Show older comments
I tried creating an executable file for the image processing m-file that i wrote. The .exe file was generated but it shows no output ie When executing it , it just shows a blank screen and then it flashes something and it closes itself.. suggestions and help will be most appreciated !
2 Comments
Answers (2)
Walter Roberson
on 11 Dec 2011
In part, see <http://www.mathworks.com/support/solutions/en/data/1-BP0BQ0/index.html?product=CO&solution=1-BP0BQ0>
More importantly for your purposes, see http://www.mathworks.com/support/solutions/en/data/1-7KKC5J/?solution=1-7KKC5J . I know this will at first look like I have completely misdirected you as it talks about serial objects, but you are encountering the same underlying problem (your main function is exiting taking everything with it) and has the same basic solution (waitfor or uiwait)
0 Comments
Kaustubha Govind
on 12 Dec 2011
Perhaps you could try running your executable from a system command window (as opposed to simply double-clicking on it), to see if any error message is displayed. Also, as Walter suggested, building as a "Console Application" instead of "Windows Standalone" with display a command window that shows the program log (including errors).
0 Comments
See Also
Categories
Find more on Logical 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!