MATLAB Answers

3

Matlab 2019b not working mac OS Catalina - Start desktop error

Asked by Justine Guillochon on 12 Oct 2019
Latest activity Commented on by Daniel Goodwin on 3 Dec 2019 at 2:54
Hi everyone,
Has anyone managed to use 2019b version with the new Catalina OS Mac update ?
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.
Matlab error.png

  2 Comments

Same issue here. I was able to reinstall but it seems like a very broken version of matlab
Same issue. Is there resolution?

Sign in to comment.

5 Answers

Answer by 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.

  1 Comment

Also my MATLAB hangs for a while at startup, both 2018b and 2019a. Furthermore MATLAB-Help scrolling is slowed down. Very annoying.

Sign in to comment.


Answer by 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:
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 Comments

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....
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.

Sign in to comment.


Answer by Tianji Shen on 6 Nov 2019 at 6:04

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

  0 Comments

Sign in to comment.


Answer by Samatha Aleti on 6 Nov 2019 at 10:04
Edited by Samatha Aleti on 6 Nov 2019 at 10:10

You can contact the MathWorks support team to help you solve this issue

  1 Comment

They do not help, just saying "remove magnet"

Sign in to comment.


Answer by Chi Wei
on 29 Nov 2019 at 18:58

On my 16 inch MacBook Pro, Matlab 2019b just cannot open.

  0 Comments

Sign in to comment.