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 opened 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
-einstead of-min 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. Seedoc mccfor details.