Filter löschen
Filter löschen

Unrecognized command line option: nodisplay when launching guide figure

16 Ansichten (letzte 30 Tage)
matquest
matquest am 30 Mär. 2020
Bearbeitet: matquest am 30 Mär. 2020
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?

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by