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

13 ビュー (過去 30 日間)
Justine Guillochon
Justine Guillochon 2019 年 10 月 12 日
編集済み: Güray TÜRKER 2021 年 3 月 15 日
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 件のコメント
Andrew Purvis
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
Daniel Goodwin 2019 年 12 月 3 日
Same issue. Is there resolution?

サインインしてコメントする。

回答 (10 件)

Riccardo Moretti
Riccardo Moretti 2019 年 12 月 19 日
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.
Schermata 2019-12-19 alle 22.05.57.png
  12 件のコメント
Chongda Zhang
Chongda Zhang 2020 年 7 月 22 日
It works for me !!!
THanks!
Ekaterina Shamonina
Ekaterina Shamonina 2020 年 7 月 23 日
Thank you! Works for me!

サインインしてコメントする。


Alexander Hübscher
Alexander Hübscher 2019 年 10 月 30 日
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 件のコメント
Mads Rossen Madsen
Mads Rossen Madsen 2021 年 3 月 2 日
Thank you for this help. Ignore Matlab in Magnet solved it for me :)
Güray TÜRKER
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
Terrilayne Tomas Quinsaat 2019 年 12 月 12 日
same issue

Enrico Onofri
Enrico Onofri 2019 年 10 月 18 日
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
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
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
Tianji Shen 2019 年 11 月 6 日
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
Samatha Aleti 2019 年 11 月 6 日
編集済み: Samatha Aleti 2019 年 11 月 6 日
You can contact the MathWorks support team to help you solve this issue
  1 件のコメント
Sangjae
Sangjae 2019 年 11 月 17 日
They do not help, just saying "remove magnet"

サインインしてコメントする。


Chi Wei
Chi Wei 2019 年 11 月 29 日
On my 16 inch MacBook Pro, Matlab 2019b just cannot open.
  5 件のコメント
Shuai Nie
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
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
Terrilayne Tomas Quinsaat 2019 年 12 月 12 日
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??Screen Shot 2019-12-11 at 11.59.39 PM.png

Samatha Aleti
Samatha Aleti 2019 年 12 月 16 日
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 件のコメント
Alison Macdonald
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
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
Tobias Seidler 2020 年 6 月 15 日
+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.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by