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

6 visualizaciones (últimos 30 días)
Rich006
Rich006 el 12 de Sept. de 2023
Comentada: Rich006 el 12 de Sept. de 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.

Respuestas (1)

Vedant
Vedant el 12 de Sept. de 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

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by