Matlab 2019b not working mac OS Catalina - Start desktop error
43 views (last 30 days)
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.
Riccardo Moretti on 19 Dec 2019
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.
Alexander Hübscher on 30 Oct 2019
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.
Enrico Onofri on 18 Oct 2019
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:
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
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!
Tianji Shen on 6 Nov 2019
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
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 on 16 Dec 2019
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!
Tobias Seidler on 15 Jun 2020
+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.