R2018b / R2019a runs very slow on macOS 10.14

Edit: For me, the problem presists on R2019a.
Known Unsupported Thrid-party Applications:
Magnet
Moom
PopClip
HyperDock
------------
Hi everyone,
I am using macOS 10.14 (Mojave) and just upgraded the MATLAB to R2018b yesterday and found a very strange problem. The editor runs EXTREMELY slow on my system and often freezes. When I click on somewhere on the editor or scrolling the view it usually takes 1-2 secs to response.
However, the strange point is, the problem only occurs when the MATLAB window is displayed on my external monitor. When I move the window to the macbook's internal monitor, everything is normal. And, the problem does not show on some specific files. I don't know if there are any features of those file, but if I make copies of those files, the problem may shows on the copies again.
I am not sure if it is a problem of MATLAB or my OS. How is the R2018b running on your systems?

댓글 수: 26

I'm running macOS 10.13 and I'm having the same issue except it's being slow on my laptop screen. Glad to know I'm not alone.
Same here, it is unusable on macOs Mojave
Jack Rochester
Jack Rochester 2018년 11월 19일
편집: Jack Rochester 2018년 11월 19일
Using macOS 10.13 here. The editor is also running extremly slow for me ever since I updated to the lastest version of Matlab. The variables window is probably the worst, I get the "beach ball" any time I click on it and it takes about 1 minute or 2 for interface to respond. The problem is independent of which display (internal/external) I use the editor on. Very frustrating.
Edit: Just read below about the issues with Magnet. Turned off Magnet and the issue was resolved. Bummer because I love Magnet, but I guess its better than nothing.
Turning off Magnet also fixed this issue for me. This is a really huge bummer because I constantly use Magnet all the time. :(
Bo Zhou
Bo Zhou 2019년 3월 25일
I also found out it's the Magnet app to blame. But you can let Magnet ignore Matlab. That solves the problem too and I don't have to turn off Magnet which I really love too.
Sam Miller
Sam Miller 2019년 6월 27일
+1 to Bo Zhou's solution
Wow! Magnet also resulted in problems with 2019a as well and I just told Magnet to ignore MATLAB and I hvan't had any problems. Thanks Bo Zhou!
Justin Chu
Justin Chu 2019년 9월 4일
This is exactly it. Thanks so much!
+1 to Bo Zhou
OMG this issue has plagued me for a while and I could never understand why others with similar macbooks didnt have the issue. Thank you so much it literally fixed all my problems immediately.
You guys are great, this has been driving me crazy.
Guy Nir
Guy Nir 2019년 12월 10일
Problem persisted with Matlab 2019b.
  1. Don't have the magnet app.
  2. Tried increasing the Java Heap memory and disabled thesource control integration. Didn't work. I have a progress bar, and matlab crashes at the same place every time.
  3. I used activity monitor but couldn't see any big change before crash, although computer is making noises through the entire process.
  4. This didn't happen when my cell array of 3d matrices was smaller (matrices were smaller).
Any ideas how to overcome this?
Thank you,
Guy
inhwan kil
inhwan kil 2020년 2월 21일
Ignore "Matlab" on Magnet tool. This solved my issue.
I can't believe the solution is that simple. This has been driving me absolutely crazy, even reinstalled Matlab a number of times...
"Ignore "Matlab" on Magnet tool. This solved my issue."
This worked for me!!! Thank you!
Thanks for the Magnet tip! Worked for me on a MBP running 10.15.3.
Thanks a lot, worked out great! 10.15.3
Thanks it worked also for me!!!
Edith
Edith 2020년 4월 2일
I don't have any of those apps . Any other recommendation??
My Matlab 2018a is really slow in catalina 10.15.3
Cheers
R2019b is the first release supported on Catalina.
Donald Kelly
Donald Kelly 2020년 5월 11일
Disabling Magnet worked for me. Some parts of Matlab were almost unusable with Magnet running.
Yes!Disabling Magnet solved the problem. That's so wired.
Cheng Yu
Cheng Yu 2020년 9월 25일
편집: Cheng Yu 2020년 9월 25일
The same problem happened to me with Matlab 2020a and macOS catalina (no mentioned Apps installed), finally found that it is caused by Rectangle, turning it off solved the problem. Hope this is helpful.
Nigel Davies
Nigel Davies 2020년 12월 23일
Disabling Magnet also worked for me, r2021a prerelease and r2020b, MacBook Pro with Apple Silicon M1, macOs Big Sur.
Yes, I had the same issue. Disabling Magnet fixed it
Got it! Just uninstall Matlab and remain magnet, then you can resolve this problem.hhhhhh

댓글을 달려면 로그인하십시오.

 채택된 답변

Kris Fedorenko
Kris Fedorenko 2018년 10월 3일
편집: Kris Fedorenko 2018년 10월 3일

58 개 추천

There were instances of similar behavior in R2018b caused by the Magnet app. Turning it off should resolve the issue. Alternatively, you should be able to use keyboard shortcuts with no delays.

댓글 수: 32

Chang Liu
Chang Liu 2018년 10월 3일
Yes you are right, after closing HyperDock the problem is resolved. But does that means that MathWorks are not going to fix it, or not able to fix it?
Jiannan Zhou
Jiannan Zhou 2018년 10월 3일
For now, if you still wants to use Magnet. I would suggest just select ignore "Matlab" in Magnet. This way, you could still use Magnet for other apps and have a no delay Matlab editor, before either Matlab or Magnet fixes the issue.
The development team is investigating the issue!
Jinnan, that's good to know as a possible workaround for now.
Felix Reuen
Felix Reuen 2018년 10월 4일
That solved the clicking and scrolling issue. But I'm still getting fairly bad results in the benchmark.
Does this have got something to do with the fact that apple switched from openGL to Metal?
Andras Joo
Andras Joo 2018년 10월 14일
I have had Hyperdock installed managing the windows' snappiness. Turning off window snapping or closing Hyperdock altogether doesn't affect Matlab's poor UI performance on Mojave.
AnaelG
AnaelG 2018년 10월 26일
Closing BetterSnapTool on macOS Mojave, Matlab R2018b solved the problem for me. MathWorks please fix this!
kevin lee
kevin lee 2018년 11월 14일
Thanks! This solved my question, but I am so superised to know how did you notice magnet caused this?
Matt Popovich
Matt Popovich 2018년 11월 23일
Thanks Kris! Just to note for others, you don't have to quit/turn off Magnet, you can just tell Magnet to "Ignore "MATLAB"":
  • With Matlab open, click on the Magnet icon in the (top) menu bar, then click on "Ignore "MATLAB"".
This will make Matlab snappy again and will keep Manget working (for all windows except for Matlab).
I confirm the interference with the app Magnet!
Caitlin Dagg
Caitlin Dagg 2018년 12월 10일
Telling Magnet to ignore Matlab worked instantly for me, thanks!
Andrea Galli
Andrea Galli 2018년 12월 21일
Solved the issue for me too! Awesome
Tianze Yu
Tianze Yu 2019년 2월 6일
holy s……
thank you for your solution. It works!
I've tried everything I could.
I had the same problem and it works. Thank you.
I keep hearing people refer to Magnet. Is Magnet part of the standard MacOS system or a third party app? I don't think I have Magnet installed but have the sluggish performance.
<3 thank you
it works
thanks! It worked for me
@Thomas Gederberg: Just a third-party app that allows windows to "snap" to half-screen or full-screen like Windows windows do. Your issue might be elsewhere.
I've seen the sluggishness in Matlab and Simulink regardless if windowing apps are running, though definitely worse with Magnet. Are there any fixes addressing this in 19a? I didn't see any in the release notes.
Wow, I've been complaining about MATLAB 2019a running slow for a few days (running macOS 13.5). I came here, quit Magnet, and all of a sudden all of my complaints have been fixed. Thank you!
Anyone know why exactly this might be happening?
Same Here! it was magnet all along!? Thanks for the tip!
Josh Parks
Josh Parks 2020년 3월 9일
also has a problem with Spectacle
how did you knew ???? I've been frustrated for ever
Ignoring Matlab in Magnet is also fixing the issue, thus there's no need to quit the application whenever using Matlab.
Xuhui Gong
Xuhui Gong 2020년 4월 13일
thx you very much!!!
weicheng Xu
weicheng Xu 2020년 4월 23일
Amazing!!!!
Luyu Wang
Luyu Wang 2020년 4월 23일
Thank you soooo much! Annoyed by it for soooo long!
Yuchen Sun
Yuchen Sun 2020년 5월 11일
Thank you! You saved my life!
francisco94
francisco94 2020년 6월 21일
THANK YOU!, it's so crazy that Tiles (free Magnet) is the problem!. I just exit Tiles and everything works fine
I can't believe that was the issue. Thank you so much for the solution, MATLAB is running so much smoother now!
Ibai Martinez
Ibai Martinez 2020년 11월 25일
Gracias por tanto, perdon por tan poco.
Nigel Davies
Nigel Davies 2020년 12월 23일
Disabling Magnet also worked for me, r2021a prerelease and r2020b, MacBook Pro with Apple Silicon M1, macOs Big Sur.
Unbelievable!! Thanks a lot. This helped me.

댓글을 달려면 로그인하십시오.

추가 답변 (26개)

Felix Reuen
Felix Reuen 2018년 10월 1일
편집: Felix Reuen 2018년 10월 1일

4 개 추천

I've got the same problem. Matlab R2018b is very slow, but only when I'm editing scripts. It takes like a second for the courser so appear after I clicked at a point in the code. As far as I know, it occurs on the internal monitor, haven't tested a external one yet. The benchmark results are very bad, I'm always between 7th and 9th place, although it's a i7, 16gb ram macbook pro with iOS 10.13.

댓글 수: 2

Same here, it is unusable on macOs Mojave. Multiple seconds delay in selecting a line of text and/or scrolling.
I am having the same issue and I don't even have any window snapping apps installed. I can't even plot my data, suggestions?

댓글을 달려면 로그인하십시오.

Nicolas B
Nicolas B 2019년 4월 10일
편집: Nicolas B 2019년 4월 10일

4 개 추천

Also experiencing this issue.
Matlab slows down to a crawl as soon as I open the help window or plot a figure.
Running macOS Mojave 10.14.4 on a 16gb 2015 Macbook Pro.
Disabling Source Control integration and incrasing Java Heap Memory size twofold does not help.
I do not have any windowing app.
The problem is the same regardless of the monitor (internal/external).

댓글 수: 3

Same for me. Matlab 2015 or 2018.
No windowing app installed. I tried the two solutions mentionned above and it doesn't change anything.
Still looking for a solution...
Please help !
Same for me. All the solutions online talk about window snapping apps but I do have one installed.

댓글을 달려면 로그인하십시오.

Danni Brito
Danni Brito 2019년 5월 22일

4 개 추천

Open the Matlab interface, go to the Magnet icon and click it, press on "Ignore Matlab", everythink should be normal now.

댓글 수: 2

Thanks so much to whomever developed this solution. Kudos!
Clement
Clement 2021년 10월 27일
OMFG, thank you so much!

댓글을 달려면 로그인하십시오.

Shen Zhao
Shen Zhao 2018년 12월 2일

3 개 추천

I use macOS 10.14.1 and Matalb 2018b.
The same thing happens for me. Mine is even worse. All of the Matlab app crashes for me.
It is really annoying than just being sluggish in Matlab. I originally thought it is due to java. I uninstalled java completely but then these things still happened. Then I completely reinstalled macOS and install software. Here comes the interesting things.
With fresh macOS. Af first, everything finally works. I can use Matlab app like classification app learner etc. But later when I install other softwares, the annoying things happen again!!! So annoying!!!
Then I find this question, some app conflicts with Matlab 2018b.
I do not have magnet but some other service ran in the background. Then I end the process one by one and check whether it works. Then I find, when I kill the "popclip" process, finally everything works perfect now!
Chris Rorden
Chris Rorden 2020년 2월 7일

3 개 추천

I had issues with the GUI of some popular MATLAB tools freezing: the checkboxes of dicm2nii and the file selection dialogs of SPM. I do not have any of the tools described here (Magnet, Moom, PopClip, HyperDock), so I was perplexed. I discovered my issues could be resolved if I disable the "Zoom" option in the 'Accessibility' of the System Preferences (shown enabled by the blue checkbox below). Whenever this is enabled (even when it is not active), I have issues with MALTAB 2019A. When it is disabled, all works fine. Unfortunate, as I do use these accesibility features...

댓글 수: 3

IIt work!!!
Why in the devil did this work?!
Akai Red
Akai Red 2020년 6월 19일
Brilliant! Somehow it works like a magic now! You saved one man turning into an evil.

댓글을 달려면 로그인하십시오.

Viktor Mattsson
Viktor Mattsson 2018년 10월 2일
편집: Viktor Mattsson 2018년 10월 2일

2 개 추천

I have the exact same problem on my internal monitor, haven't tried with an external monitor. But the editor is very slow in Matlab R2018b, the cursor takes a couple of seconds to show up when I click somewhere in the code. Also when I want to run scripts I have to hover above the 1-2 seconds before I can click otherwise nothing happens when I click it.
Had the same problems both in macOS 10.13 and 10.14.

댓글 수: 1

Pontus Vikstål
Pontus Vikstål 2018년 10월 2일
편집: Pontus Vikstål 2018년 10월 2일
I just tried with an external monitor. And I experience less delay, but still some delay which to me is unacceptable.

댓글을 달려면 로그인하십시오.

Matthew Radice
Matthew Radice 2018년 10월 25일

2 개 추천

Ok I disabled Matlab in the magnet drop down menu. Then I did a restart and everything is working as normal.
The magnet app remembers what apps you forget.
I hope that helps some of you as it really made Matlab unusable.
Thomas Gederberg
Thomas Gederberg 2018년 11월 19일

2 개 추천

I am having the same problems with Matlab 2018b (also Matlab 2017a) running VERY slowly on Mojave. Unusable. However, I do not have Magnet installed (never heard of it), so that does not seem to be my problem.
Pontus Vikstål
Pontus Vikstål 2018년 10월 2일

1 개 추천

I have exactly the same problem on my MacBook. When I click on a line in a script it takes about a second cursor to appear, it's super annoying.
Daniel Kovari
Daniel Kovari 2018년 12월 10일

1 개 추천

BetterTouchTool (https://folivora.ai/) also appears to cause MATLAB 2018b to have issues. In particular, using Java UI elements such as those included with the Widgets Toolbox causes MATLAB to hang (spinning beachball).
Sangjae
Sangjae 2019년 2월 27일
편집: Sangjae 2019년 2월 27일

1 개 추천

I have already raised this issue by volunteering with a beta tester for 2019a, but have received an answer that it has already been resolved.
BUT I understand that this is a situation in which the issue is being resolved. I would like to be sure that it is a problem with the Magnet app or Matlab's problem and should be fixed. I appreciate that I can use the MATLAB program, but apart from that, I do not understand that the company is staying as a temporary countermeasure for months without any measures.

댓글 수: 1

Anders Vestergaard
Anders Vestergaard 2019년 3월 25일
편집: Anders Vestergaard 2019년 3월 25일
I have 2019a and it only works when i disable magnet...
Using MacBook Pro (15-inch 2016) macOS Mojave 16 GB ram

댓글을 달려면 로그인하십시오.

Victor Murray
Victor Murray 2019년 4월 4일

1 개 추천

I had the same problem with Matlab 2018b and Mojave 10.14.4.
Since I didn't had any of the Apps mentioned here to kill, I installed Matlab 2019a.... and had the same problem.
I was able to fixed by doing 2 things:
So far it is working.
Cheers!

댓글 수: 3

worked for me (2020b, MacBook Pro 13, M1 Chip, BigSur)
Worked for me - 2021a, MacBook Pro 16, 2019, Big Sur 11.5.2
Great!

댓글을 달려면 로그인하십시오.

tetonedge
tetonedge 2018년 10월 2일

0 개 추천

I am having the same problem on a MacPro 10.13
Andras Joo
Andras Joo 2018년 10월 2일

0 개 추천

I can confirm the same issue on MacOS Mojave/Matlab 2018b.
Does this has to do with OpenGL being deprecated on Mojave?
Matthew Radice
Matthew Radice 2018년 10월 19일

0 개 추천

I am also experiencing these issues on Mojave.
Pieter Delobelle
Pieter Delobelle 2018년 10월 25일

0 개 추천

Same problem on macOS Mojave, I also have the Magnet app installed. Hope this gets fixed very soon, matlab 2018b is basically unusable.

댓글 수: 1

Matthew Radice
Matthew Radice 2018년 10월 25일
Did you disable Matlab in the magnet drop down menu?

댓글을 달려면 로그인하십시오.

Giammarco Valenti
Giammarco Valenti 2019년 1월 2일

0 개 추천

I experienced the same problem with matlab 2018b and Mojave. Quitting Magnet the problem was solved. The problem was only about the graphic interface of Matlab, because if I use and external editor and I run the scripts by the command window it works as always.
Anna Smith
Anna Smith 2019년 1월 14일

0 개 추천

Yes, also running 2018b on Mac OS 10.13.4 with the same issue. After quitting magnet everything in the editor runs smoothly now!
Samuel Moczygemba
Samuel Moczygemba 2019년 2월 19일

0 개 추천

My editor was extremely sluggish. For example, clicking "Run Selection" would take a few seconds for just the button animation to finish.
Magnet is a window manager for Mac. I do not use Magnet but do use another window manager named Moom.
Disabling Moom seems to have fixed the problem for me on a MacBook Pro running macOS Mojave 10.14.
Mohammad Azarnoush
Mohammad Azarnoush 2019년 4월 3일
편집: Mohammad Azarnoush 2019년 4월 3일

0 개 추천

I have the same problem. For about two months, everything was perfect. However, things started to get worse. When I open a script file, the cursor freezes; it is very vexxing. I don't have the magnet app or any other similar window manager. This is a really serious issue. Glad that I can work with python with no such errors.
Silvia Butti
Silvia Butti 2019년 4월 18일

0 개 추천

Hi,
I am having the same issue here. I updated from 2016b to 2019a and the delay makes Matlab unusable (about 30 seconds delay to open an empty figure, and several minutes to save and load files). The problem persists on both external and internal monitor. I do not have Magnet or any similar window managing apps installed, and I cannot disable source control as I am working with Git. I am running MacOS10.12 (so this is not an issue specific to Mojave). I still have Matlab2016b installed which works fine.
Any help or ideas on what to do would be greatly appreciated, thanks!
Marc
Marc 2019년 4월 24일

0 개 추천

Exactly the same issue with new 2019a version on a late 2009 iMac 8GB RAM running onOS High Sierra 10.13.6, system slows to a crawl then crashes when plotting figures and using datasets of approx 1GB or more. Tried increasing the applied MATLAB memory capacity in preferences but to no avail. I am beginning to think it was a pointless purchase!!!
Richard
Richard 2019년 4월 29일
편집: Richard 2019년 5월 3일

0 개 추천

I am running Mac OS 10.13 (High Sierra) with R2019a & have the same problem (iMac with 8GB RAM).
I re-launched MATLAB & this time, I denied it access to the internet. And now it's ok.
Update, 3rd May: the problem has come back!! Fyi I do not use Magnet. Also fyi I never had this problem with R2017a which I have been using up to a few weeks ago.

댓글 수: 4

Marc
Marc 2019년 4월 29일
Could you explain the steps you took to 'deny Matlab access to the internet' please Richard.
Silvia Butti
Silvia Butti 2019년 4월 29일
Would also be interested to know. Thanks!
Emily C
Emily C 2019년 5월 1일
I am also interested in this as the other suggestions didn't fix the porblem for me. I tried running it with the internet turned off on my laptop which worked (but not ideal). So hunted around a little more and went into service preferences menu item for the Matlab program and unticked the internet box as shown in picture below. I'm on Mac OS 10.13.6
This seems to make the program run normal speed now.
Richard
Richard 2019년 5월 2일
When I launch MATLAB it always asks me via a popup bix whether I will accept incoming internet connections. I usually accept, but this time I denied. And that fixed the problem. I never use the internet with MATLAB so for me that's not an issue. Hope that clarifies.

댓글을 달려면 로그인하십시오.

Huxi Wang
Huxi Wang 2019년 9월 11일

0 개 추천

I have figured out this problem!
macOS 10.14, matlab 2019a.
No matter it is Magnet app or popclip app, they are all related to srceen capture (text, image, etc.). These capture functions will interfere with matlab 2018b or matlab 2019a. So, what you have to do is just disable these functions, and everything will work fine.
Yixiao Wang
Yixiao Wang 2019년 12월 13일

0 개 추천

Same issue for a long time...
Ran Xiao
Ran Xiao 2020년 2월 9일

0 개 추천

Appreciate the inputs!
This has been driven me crazy and diabling Magnet works like a charm for me.
Just a add, you can choose to disable Magnet just for Matlab and keep using it for other apps.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2018년 9월 30일

댓글:

2021년 10월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by