Preventing/ avoiding Opening MATLAB window when opening an app (.mlapp-file)
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NightStalker
am 4 Apr. 2023
Kommentiert: NightStalker
am 4 Apr. 2023
I created an app using the Appdesigner. Is there a way to double click the .mlapp-file and run ONLY the app?
Currently, when I double-click the .mlapp-file it opens the app but also the standard MATLAB-window (whith script, editor, workspace etc.).
This is really annoying.
Is there a way to open the app and nothing but the app GUI?
Thanks in advance!
2 Kommentare
Akzeptierte Antwort
Image Analyst
am 4 Apr. 2023
If you double click the file in File Explorer it opens the default app defined for it in the operating system. For .mlapp, this is MATLAB:

as you can see from the above control panel screenshot.
AppDesigner is not a standalone app. It's like half a program that needs the regular MATLAB development interface to operate. For example App Designer does not have a command window, the workspace panel with your variables, or the Current Folder panel with all your files. So you can't have App Designer by itself without MATLAB.
Like Rik said, if you want to run your app without the MATLAB and App Designer programs appearing you'd have to compile your app into a standalone executable. However the compiler is a very expensive toolbox.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!