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

6 views (last 30 days)
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.

Answers (1)

Vedant
Vedant on 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

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!