필터 지우기
필터 지우기

Unrecognized command line option: nodisplay when launching guide figure

조회 수: 16 (최근 30일)
matquest
matquest 2020년 3월 30일
편집: matquest 2020년 3월 30일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by