convert matlab to exe file

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 ??

 Respuesta aceptada

Daniel Shub
Daniel Shub el 26 de Nov. de 2011

0 votos

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.

Más respuestas (1)

Image Analyst
Image Analyst el 26 de Nov. de 2011

1 voto

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.

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by