Matlab 2019b not working mac OS Catalina - Start desktop error
이전 댓글 표시
Hi everyone,
Has anyone managed to use 2019b version with the new Catalina OS Mac update ?
Despite, the compatibility stated at https://www.mathworks.com/support/requirements/matlab-system-requirements.html.
I get an error message "error starting desktop" pointing towards what seems to be a java issue.
Matlab was working perfectly before the update to Catalina.
Thank you very much.

댓글 수: 2
Andrew Purvis
2019년 10월 17일
Same issue here. I was able to reinstall but it seems like a very broken version of matlab
Daniel Goodwin
2019년 12월 3일
Same issue. Is there resolution?
답변 (10개)
Riccardo Moretti
2019년 12월 19일
14 개 추천
I solved the issue!
I went in preferences -> security and privacy -> file and folder -> then I check all the three boxes under Matlab.
Now matlab fortunately works.

댓글 수: 12
Alison Macdonald
2020년 1월 10일
This did not work for me. But note, for R2020a, the possible Matlab settings are different. I only have "Removable Volumes" and "Documents Folder". If my Italien serves me, under R2019b you have "Download Folder", "Documents Folder" and "Desktop Folder".
Riccardo Moretti
2020년 1월 11일
Yes, your italian is correct.
I have the version R2019b and for now is still working without other problems.
I haven't download the version R2020a just to be sure.
You can try to download the R2019b version and see if it works.
Concetta Piazzese
2020년 1월 17일
편집: Concetta Piazzese
2020년 3월 17일
I solved it in another way.
In my case, Matlab 2019 was like frozen in the list of apps having access to file and folders (preferences -> security and privacy -> Files and Folders).
So, I removed Matlab from the list of app having full disk access (preferences -> security and privacy -> Full Disk access).
At this point, Matlab 2019 became clickable again the in the list of apps having access to file and folders. I clicked all available boxes for Matlab 2019 (I had four).
I then started Matlab 2019 and it worked correctly.
Hope this helps.
ps. Catalina is creating more problems rather than making our life easier.
Daniela Ramirez
2020년 3월 1일
It worked for me. Thank you! :)
Lauren Gil
2020년 3월 12일
worked for me too thanks!
David Agudelo
2020년 3월 18일
Thank you!
Unai Gutierrez Santiago
2020년 4월 15일
Thanks!!
Deepak Deepak
2020년 5월 3일
It works for me too! :) Thanks for sharing!
khalid m
2020년 5월 4일
me too
thanks
mahmut yueksel
2020년 5월 31일
thanks!!!
Chongda Zhang
2020년 7월 22일
It works for me !!!
THanks!
Ekaterina Shamonina
2020년 7월 23일
Thank you! Works for me!
Alexander Hübscher
2019년 10월 30일
6 개 추천
I did not get an Error but Matlab hung up every time while starting. I found a solution for me: If the "Magnet" app is running, close it.
It's the same issue every year. So please MATHWORKS finally fix this annoying bug! Magnet is an important productivity tool and it's working with all other apps except yours. macOS Catalina, MBP 2015.
댓글 수: 5
Simone Orcioni
2019년 11월 16일
Also my MATLAB hangs for a while at startup, both 2018b and 2019a. Furthermore MATLAB-Help scrolling is slowed down. Very annoying.
Zongtai Li
2019년 12월 7일
Thank you so much!!!
I tried to reinstall my matlab for like 2 times and get nothing. You save me!!!
btw, you can simply let Magent ignore the matlab. It's not really necessary to close it.
Terrilayne Tomas Quinsaat
2019년 12월 12일
still the same probelm
Mads Rossen Madsen
2021년 3월 2일
Thank you for this help. Ignore Matlab in Magnet solved it for me :)
Güray TÜRKER
2021년 3월 15일
편집: Güray TÜRKER
2021년 3월 15일
Thank you so much for this solution. It was worked on BigSur 11.2 & Matlab 2021a
Terrilayne Tomas Quinsaat
2019년 12월 12일
1 개 추천
same issue
Enrico Onofri
2019년 10월 18일
0 개 추천
I get an error message starting R2019b on Catalina
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should
be resolved as soon as possible. Error detected was:
MATLAB:mir_illegal_import_argument
Error: File: datenum.m Line: 74 Column: 8
The import statement 'import matlab.internal.datatypes.stringToLegacyText'
cannot be found or cannot be imported. Imported names must end with '.*' or be
fully qualified.
and Matlab crashes. No problem with R2019a. Can Mathworks find a fix to this?
If I start matlab on a shell with -nodisplay -nojvm it works! So it must be a problem in the desktop!
E. O.
댓글 수: 2
Andrew Lipich
2019년 10월 27일
Having lots of trouble with 2019a and b on catelina won't open at all then goes into program not responding mode and never opens....
Enrico Onofri
2019년 10월 28일
My impression is that matlab depends on too many environmental factors that it is difficult to reproduce this problem. At the moment I can run R2019b on an older macbook pro (2015) under macos15 but not on the newer (2017) also under Catalina. If there is a problem with the Java version I am inclined to give up R2019b since previous vrsions run without any problem. I would suggest Mathworks to advice on the right vrsion of Java or preferably to include it in the package, if possible.
Tianji Shen
2019년 11월 6일
0 개 추천
Maybe this is the issue of compatibility of MacOSX 10.15.1 and MATLAB 2019b.
It seems OK before I update to 10.15.1
Samatha Aleti
2019년 11월 6일
편집: Samatha Aleti
2019년 11월 6일
0 개 추천
You can contact the MathWorks support team to help you solve this issue
댓글 수: 1
Sangjae
2019년 11월 17일
They do not help, just saying "remove magnet"
Chi Wei
2019년 11월 29일
0 개 추천
On my 16 inch MacBook Pro, Matlab 2019b just cannot open.
댓글 수: 5
sasi kala
2019년 12월 7일
same here with 13 inch for even the trial version
Akide Liu
2019년 12월 8일
same issue on 16inch MacBook pro, 2019b can not open
Md. Anam Mahmud
2019년 12월 9일
same issue.. 2019b can not open
Shuai Nie
2020년 3월 23일
Alexander Hübscher's answer solved my problem, please check whether "Magnet" or "Spectacle" app is running, if so, close it.
Suchet Gopal
2020년 8월 19일
None of the other solutions worked for me but updating to Catalina 10.15.6 solved the problem.
Terrilayne Tomas Quinsaat
2019년 12월 12일
0 개 추천
turned off magnet and still have the same problem. xcode compiler is updated to the 11.3. uninstalled and installed both 2019a and 2019b and still no luck. WILL THERE BE A RESOLUTION SOON??

Samatha Aleti
2019년 12월 16일
0 개 추천
Hi,
One of the things you can do is try to go into safe boot. To enter safe boot, follow these steps:
- Start or restart your Mac, then immediately press and hold the Shift key.
- The Apple logo appears on your display. Release the Shift key when you see the login window.
- If your startup disk is encrypted with FileVault, you might be asked to log in twice: once to unlock the startup disk, and again to log in to the Finder.
If the issue persists also try the following:
- Open a Terminal window (/Applications/Utilities/Terminal.app) and run the following command: $MATLAB/bin/matlab -nodesktop
- If MATLAB starts, run the command “desktop” in the MATLAB windows.
Hope this helps!
댓글 수: 5
Riccardo Moretti
2019년 12월 19일
I have MacBook Pro (Retina, 13-inch, Late 2013) with OSX 10.15.2 and I have the same problem of Terrilayne Tomas Quinsaat.
I tried to restart the mac in safe boot and also to write the command $MATLAB/bin/matlab in the terminal but nothing work.
There is anything else I can do?
I need to use matlab in this days!
Werner Müller
2019년 12월 22일
Starting Matlab_R2019b or Matlab_R2020a from the terminal using the command "/Applications/Matlab_R2020a.app/bin/matlab -nodesktop" and after Matlab starts running the command "desktop" works well with Catalina.
It may be a simple act for the Matlab-developers to modify the startup procedure of this versions. Matlab_R2019a works with Catalina without any problem.
Eileen Dukes
2020년 1월 9일
편집: Eileen Dukes
2020년 1월 9일
I was able to start Matlab from the command window (as you describe). On my first try, as soon as I typed "desktop" it opened the window but then hung (same behavior as before). Then, I successfully ran a function with the following error:
Warning: MATLAB Connector is not running.
> In message.subscribe
In connector.internal.webwindowmanager (line 6)
In connector.internal/webwindowmanager/instance (line 14)
In matlab.internal.webwindowmanager.get.windowList (line 123)
In matlab.internal/webwindowmanager/findAllWebwindows (line 91)
In matlab.ui.internal.dialog/DialogUtils/disableAllWindowsSafely (line 24)
In uigetputfile_helper (line 54)
In uigetfile (line 130)
In SixDOF_Main (line 28)
In run (line 91)
After the run completed, I typed desktop again and Matlab successfully opened.
However, my joy was short-lived. I closed the terminal window which terminated Matlab. I then tried opening Matlab again and it reverted to the previous behavior i.e. opened and then hung. Activity Monitor shows "Matlab not responding".
Alison Macdonald
2020년 1월 10일
This seems to work for me, but it is a nuisance. As an aside, for me everything was working fine using R2018b on Catalina, but then I ran the suggested update and JAVA errors started.
Colin Raymond
2020년 1월 17일
With R2019a on Catalina I find that the same work-around procedure that Werner mentions is also necessary. Hopefully we will see a bug fix come out soon!
Tobias Seidler
2020년 6월 15일
0 개 추천
+1 on the spinning rainbow wheel of death on 10.15.4 with R2019b on startup. The problem came out of the blue today after running this very setup for weeks. Issue was the macOS accessability API as described here, it seems not to be sorted out. I initially removed all apps from Preferences --> Security & Privacy --> Privacy --> Accessibility to get rid of the bug. Finally tracked the issue down to MS Teams and now only removed this one - this might differ from case to case though.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!