Take a long time(~ 1 min.) whenever clicking in any script editor in Mac OS 10.15.6
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 7 Oct 2020
Edited: MathWorks Support Team
on 15 Oct 2020
I observed this issue since R2019a. The problem does not occur in R2018b. Recently, I installed R2020b and the same issue still occurs.
Reproduce steps:
1. Click New Script
2. Click anywhere in the opened EDITOR (It takes over 1 min. every clicking in Editor.)
I do not see any issues when using Live Sciprt like clicking anywhere, scrolling, etc. Also, other uses are OK including launching MATLAB, using command lines such as "'tic; edit test_newlycreation; toc'" => result is 2 seconds and it is normal.
I increased JAVA Heap Memory like 3000MB in 16GB RAM and checked "None" about "Source control" in Preference > General. And I closed any anti-virus/memory management programs.
Accepted Answer
MathWorks Support Team
on 15 Oct 2020
Edited: MathWorks Support Team
on 15 Oct 2020
This lagging issue of using MATLAB Editor is due to use Magnet which is a window manager for Mac that keeps the workspace organized. Turning it off should resolve the issue.
You can choose to ignore the current application from the menu bar icon of Magnet. Choose "Ignore MATLAB" to disable Magnet for MATLAB.
Also, you can refer to the following solution link which contains workarounds for various lagging issues by the incompatibility of Magnet App, BetterTouchTool, or similar window-snapping apps with MATLAB on macOS.
- Why do buttons, apps, or the editor in MATLAB respond slowly or hang on MacOS?
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!