MATLAB 2020a on Catalina won't open properly through .app

3 次查看(过去 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?

采纳的回答

Nikhil Sonavane
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.
For more details you may refer to similar MATLAB Answer.
  2 个评论
Leanna Morinishi
Leanna Morinishi 2020-6-8
Thank you for the response. It seems like restarting my computer fixed the error I was having before I could reproduce the error via Terminal the way you described. Thanks for your help though!
Robert Dodier
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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by