Borrar filtros
Borrar filtros

Unrecognized command line option: nodisplay when launching guide figure

16 visualizaciones (últimos 30 días)
matquest
matquest el 30 de Mzo. de 2020
Editada: matquest el 30 de Mzo. de 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?

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by