필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Leanna Morinishi
Leanna Morinishi 2020년 6월 2일
댓글: Robert Dodier 2021년 7월 13일
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