Unrecognized command line option: nodisplay when launching guide figure

26 ビュー (過去 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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by