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

6 vues (au cours des 30 derniers jours)
Rich006
Rich006 le 12 Sep 2023
Commenté : Rich006 le 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.

Réponses (1)

Vedant
Vedant le 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
  1 commentaire
Rich006
Rich006 le 12 Sep 2023
The resulting instance of MATLAB still has the problem.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by