Unrecognized command line option: nodisplay when launching guide figure

27 visualizzazioni (ultimi 30 giorni)
I have a GUI that I built using guide. It just consists of the .m and the .fig files. I'd like to launch the gui from the command line via a batch file, however, I get an "unrecognized command line option: nodisplay" when running the .bat file.
Here are the contents of the .bat file:
matlab -nosplash -nodesktop -nodisplay -r "run('C:\Users\matquest\...\gui_file.m');"
Running the .bat file launches a MATLAB command window and outputs:
Warning: Unrecognized command line option: nodisplay.
To get started, type doc.
For product information, visit www.mathworks.com.
It then launches the GUI as well and it works normally. However, I'd like to just launch the gui without the matlab command window. Is this possible? Or do I need to use the compiler tool?

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by