MATLAB 2020a on Catalina won't open properly through .app
4 次查看(过去 30 天)
显示 更早的评论
Double-clicking or using right-click->"Open with..." on MATLAB files (.m, .mat, .mlapp) opens a functional MATLAB 2020a window. Using MATLAB via terminal (/Applications/MATLAB_R2020a.app/bin/matlab -nodesktop) works just fine as well.
However, double clicking the MATLAB_R2020a.app icon or trying to open MATLAB via Spotlight results in a non-responsive MATLAB window with the rainbow spinning wheel. The bottom message says "Ready". Is there any way to fix this?
0 个评论
采纳的回答
Nikhil Sonavane
2020-6-5
System Requirements:
Ensure that your Mac meets the system requirements for the release of MATLAB you are attempting to launch.
Debugging Mode
Try running MATLAB without the desktop environment. Open a Terminal window (/Applications/Utilities/Terminal.app) and run the following command:
$MATLAB/bin/matlab -nodesktop
Where $MATLAB is the path to your MATLAB directory. For example, if you are using MATLAB R2016b and have installed MATLAB in the default directory, the command will be:
/Applications/MATLAB_R2016b.app/bin/matlab -nodesktop
If MATLAB starts, it will start in the Terminal window itself. The title of the Terminal window will change to say “MATLAB_maci64 -nodesktop.” From the Terminal window, run the command “desktop” to attempt to start the MATLAB desktop environment. This will produce an error message which may help you to identify the problem. If you would like assistance in interpreting the error, please contact MathWorks support.
2 个评论
Robert Dodier
2021-7-13
Launching the desktop from within the terminal (no desktop) worked for me.
I have macOS Catalina. I ran into the spinning beach ball when I tried to launch the Matlab desktop either from a shortcut or from the command line. I tried several other possible solutions which were floated on various forums and none of them helped -- the only thing that helped was this idea of launching the desktop from an already-running terminal session. Thanks a lot.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!