convert matlab to exe file

1 次查看(过去 30 天)
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 ??

采纳的回答

Daniel Shub
Daniel Shub 2011-11-26
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.

更多回答(1 个)

Image Analyst
Image Analyst 2011-11-26
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.

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by