Take a long time(~ 1 min.) whenever clicking in any script editor in Mac OS 10.15.6

3 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 15 de Oct. de 2020
Editada: MathWorks Support Team el 15 de Oct. de 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?

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by