MATLAB Answers

Chang Liu
16

R2018b / R2019a runs very slow on macOS 10.14

Chang Liu
さんによって質問されました 2018 年 9 月 30 日
最新アクティビティ Devon Lantagne さんによって コメントされました 2019 年 8 月 13 日 15:38
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?

  7 件のコメント

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 2019 年 6 月 27 日
+1 to Bo Zhou's solution
Devon Lantagne 2019 年 8 月 13 日 15:38
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!

サインイン to comment.

製品


リリース

R2018b

23 件の回答

回答者: Kris Fedorenko 2018 年 10 月 3 日
編集済み: Kris Fedorenko 2018 年 10 月 3 日
 採用された回答

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.

  19 件のコメント

Kristina Moore 2019 年 3 月 19 日
@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.
Richard Stanley 2019 年 3 月 28 日
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.
Justin Schachter 2019 年 4 月 24 日
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?

サインイン to comment.


回答者: Felix Reuen 2018 年 10 月 1 日
編集済み: Felix Reuen 2018 年 10 月 1 日

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 件のコメント

Harry Chellis 2018 年 10 月 3 日
Same here, it is unusable on macOs Mojave. Multiple seconds delay in selecting a line of text and/or scrolling.
Olivia Cracchiolo 2018 年 10 月 9 日
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?

サインイン to comment.


Nicolas B
回答者: Nicolas B
2019 年 4 月 10 日
編集済み: Nicolas B
2019 年 4 月 10 日

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

  0 件のコメント

サインイン to comment.


回答者: Viktor Mattsson 2018 年 10 月 2 日
編集済み: Viktor Mattsson 2018 年 10 月 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 2018 年 10 月 2 日
I just tried with an external monitor. And I experience less delay, but still some delay which to me is unacceptable.

サインイン to comment.


Shen Zhao
回答者: Shen Zhao
2018 年 12 月 2 日

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 件のコメント

サインイン to comment.


回答者: Pontus Vikstål 2018 年 10 月 2 日

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 件のコメント

サインイン to comment.


回答者: Matthew Radice 2018 年 10 月 25 日

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 件のコメント

サインイン to comment.


回答者: Thomas Gederberg 2018 年 11 月 19 日

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 件のコメント

サインイン to comment.


Sangjae
回答者: Sangjae
2019 年 2 月 27 日
編集済み: Sangjae
2019 年 2 月 27 日

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

サインイン to comment.


回答者: Danni Brito 2019 年 5 月 22 日

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

  1 件のコメント

Marcel Goldschen-Ohm 2019 年 5 月 24 日
Thanks so much to whomever developed this solution. Kudos!

サインイン to comment.


tetonedge
回答者: tetonedge
2018 年 10 月 2 日

I am having the same problem on a MacPro 10.13

  0 件のコメント

サインイン to comment.


回答者: Andras Joo 2018 年 10 月 2 日

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

  0 件のコメント

サインイン to comment.


回答者: Matthew Radice 2018 年 10 月 19 日

I am also experiencing these issues on Mojave.

  0 件のコメント

サインイン to comment.


回答者: Pieter Delobelle 2018 年 10 月 25 日

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 2018 年 10 月 25 日
Did you disable Matlab in the magnet drop down menu?

サインイン to comment.


回答者: Daniel Kovari 2018 年 12 月 10 日

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 件のコメント

サインイン to comment.


回答者: Giammarco Valenti 2019 年 1 月 2 日

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.

  0 件のコメント

サインイン to comment.


回答者: Anna Smith 2019 年 1 月 14 日

Yes, also running 2018b on Mac OS 10.13.4 with the same issue. After quitting magnet everything in the editor runs smoothly now!

  0 件のコメント

サインイン to comment.


回答者: Samuel Moczygemba 2019 年 2 月 19 日

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.

  0 件のコメント

サインイン to comment.


回答者: Mohammad Azarnoush 2019 年 4 月 3 日
編集済み: Mohammad Azarnoush 2019 年 4 月 3 日

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.

  0 件のコメント

サインイン to comment.


回答者: Victor Murray 2019 年 4 月 4 日

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!

  0 件のコメント

サインイン to comment.


回答者: Silvia Butti 2019 年 4 月 18 日

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!

  0 件のコメント

サインイン to comment.


Marc
回答者: Marc
2019 年 4 月 24 日

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

  0 件のコメント

サインイン to comment.


Richard
回答者: Richard
2019 年 4 月 29 日
編集済み: Richard
2019 年 5 月 3 日

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 件のコメント

Silvia Butti 2019 年 4 月 29 日
Would also be interested to know. Thanks!
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.
Untitled.jpeg
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.

サインイン to comment.



Translated by