Clear Filters
Clear Filters

convert matlab to exe file

1 view (last 30 days)
mohamed saber
mohamed saber on 26 Nov 2011
i made a matlab program and convert it to exe file by using mcrinstaller .. but i can't see the output in exe window .. it disappear quickly ... what should i do ??

Accepted Answer

Daniel Shub
Daniel Shub on 26 Nov 2011
My guess is the last line of you MATLAB code is exit/quit, which causes you to exit. You probably want to add
pause
before the exit command.

More Answers (1)

Image Analyst
Image Analyst on 26 Nov 2011
You can run the program from a console window (Start->Run->cmd then cd to the folder where your program lives.) Then run your program from the "DOS" command line. When your program exits, the window will stay there since your program did not create it, so you will still be able to see whatever it spit out to that window.

Categories

Find more on Software Development Tools 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!