MATLAB Answers

7

R2018b runs very slow on macOS 10.14

Asked by Chang Liu on 30 Sep 2018
Latest activity Answered by Daniel Kovari on 10 Dec 2018 at 15:43
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?

  3 Comments

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

Sign in to comment.

Products


Release

R2018b

12 Answers

Answer by Kris Fedorenko on 3 Oct 2018
Edited by Kris Fedorenko on 3 Oct 2018
 Accepted Answer

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.

  10 Comments

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!
Telling Magnet to ignore Matlab worked instantly for me, thanks!

Sign in to comment.


Answer by Felix Reuen on 1 Oct 2018
Edited by Felix Reuen on 1 Oct 2018

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 Comments

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?

Sign in to comment.


Answer by Viktor Mattsson on 2 Oct 2018
Edited by Viktor Mattsson on 2 Oct 2018

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 Comment

I just tried with an external monitor. And I experience less delay, but still some delay which to me is unacceptable.

Sign in to comment.


Answer by Shen Zhao on 2 Dec 2018 at 4:38

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!

  0 Comments

Sign in to comment.


Answer by Pontus Vikstål on 2 Oct 2018

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.

  0 Comments

Sign in to comment.


Answer by tetonedge on 2 Oct 2018

I am having the same problem on a MacPro 10.13

  0 Comments

Sign in to comment.


Answer by Andras Joo on 2 Oct 2018

I can confirm the same issue on MacOS Mojave/Matlab 2018b.
Does this has to do with OpenGL being deprecated on Mojave?

  0 Comments

Sign in to comment.


Answer by Matthew Radice on 19 Oct 2018

I am also experiencing these issues on Mojave.

  0 Comments

Sign in to comment.


Answer by Pieter Delobelle on 25 Oct 2018

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

  1 Comment

Did you disable Matlab in the magnet drop down menu?

Sign in to comment.


Answer by Matthew Radice on 25 Oct 2018

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.

  0 Comments

Sign in to comment.


Answer by Thomas Gederberg on 19 Nov 2018 at 18:42

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.

  0 Comments

Sign in to comment.


Answer by Daniel Kovari on 10 Dec 2018 at 15:43

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

  0 Comments

Sign in to comment.