开发者

Extra window problem when generating .exe file with MATLAB

usually i simply develop executable (.exe) files of my MATLAB codes by using this command:

mcc -m GUI.m

although there's no problem with the .exe creation, unfortunately when i op开发者_开发知识库ened the .exe, there's a black window (like command prompt) that is also opened, so two windows in total... the GUI figure and the prompt. how do i not have this prompt? is there any setting i can include in the mcc command as above?

Thanks.


Use -e instead of -m in the mcc command line. This will change how it's compiled (making it a GUI app instead of a console app), and suppress the command window. Requires Visual Studio. See doc mcc for details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜