App Designer app fails to open on first try (MacOS, R2023a)
8 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Vedant
2023-9-12
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!