Filter löschen
Filter löschen

App Designer app fails to open on first try (MacOS, R2023a)

15 Ansichten (letzte 30 Tage)
Rich006
Rich006 am 12 Sep. 2023
Kommentiert: Rich006 am 12 Sep. 2023
When I try to open an App Designer app, a blank App Designer window opens but the app doesn't load until I try a second time to open the app. The same behavior occurs whether I double-click the app name in the Current Folder pane or whether I right-click and select Open. This only happens on MacOS. The only other Mac MATLAB user in my workplace has the same problem. I have this problem with multiple .mlapp files, but only on MacOS.

Antworten (1)

Vedant
Vedant am 12 Sep. 2023
This issue is caused by an incompatibility with graphics drivers.
To work around this issue, start MATLAB from Terminal with the startup flag "-cefdisablegpu" by following the steps below:
1) Open Terminal.
2) Navigate to the matlabroot directory in Terminal. To locate the path of the matlabroot directory, open an instance of MATLAB and type the following command in the Command Window:
>> matlabroot
3) Enter the following command in Terminal:
$ ./bin/matlab -cefdisablegpu

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by