Editor becomes very slow

Hello,
recently I realize that aftersome time the editor starts to respond very slowly, whcih makes it impossible to continue working efficiently. To resolve the issue, I shut down Matlab and delete the preferences folder. After a fresh start it works again. However, this is annoyinh because I always have to re-initalize my preferences. Does anybody know what the problem is and how to resolve it ? Ii happens with R2018b and R2019b. I have an Imac with 10.14.6 Mojave.
Thanks for your help help.

13 comentarios

darova
darova el 27 de Mzo. de 2020
Cna you be more specific? What are doing actually? Can you describe?
Jurgen REINGRUBER
Jurgen REINGRUBER el 27 de Mzo. de 2020
Editada: Jan el 20 de Mayo de 2021
I am doing normal things like data analysis, simulations and fittings using mex-files.
Should this affect the Editor ?
Jurgen REINGRUBER
Jurgen REINGRUBER el 27 de Mzo. de 2020
Editada: Jan el 20 de Mayo de 2021
It must be somehow related to the preferences folder and the files that are updated there, because after I delete this folder it works nomally for some time. At some point it then bugs again.
darova
darova el 27 de Mzo. de 2020
I think editor is just like a notepad (). It can't be slow
MATLAB get slower because of what you are doing. Im not good at this stuff. Maybe someone else can help you
Jurgen REINGRUBER
Jurgen REINGRUBER el 27 de Mzo. de 2020
Editada: Jan el 20 de Mayo de 2021
Tahnks. I can perform commands in the command window and it works fine. Only when I click and activate the Editor window ( the Editor is not docked) everything slows down.
Jurgen REINGRUBER
Jurgen REINGRUBER el 27 de Mzo. de 2020
I must say that I have several files open in the Editor around 10-20
Jared MacDonald
Jared MacDonald el 14 de Abr. de 2020
Hi Jurgen,
10-20 files should not be a problem and should not being slowing down the editor. Clarifying questions - what type of files are these? How much RAM do you have? And what else are you doing with MATLAB at the same time?
My advice would be to contact MathWorks Technical Support to guide you through resolving the issue.
Thanks,
Jared
Jurgen REINGRUBER
Jurgen REINGRUBER el 10 de Mayo de 2020
Thanks Jared,
meanwhile I figured out what was the cuprit. It sometimes happend that I accidentaly (and unknowingly) pressed keys that activated the input via the microphone, which slowed down the editor. Since I deactivated the microphone everything is fine.
J.
Abel Faure Beaulieu
Abel Faure Beaulieu el 20 de Mayo de 2021
Editada: Abel Faure Beaulieu el 23 de Jun. de 2021
Hello everyone,
I am encountering a similar problem with matlab r2020b on mac 11.4 Big Sur: sometimes, the editor becomes very laggy and unusable. This problem appears and disappears randomly since a few days. I checked the RAM and the CPU activity, I am far from using the max capacity. Some people had a similar problem caused by an interaction between Matlab and the application Magnet. But in my case, I do not use magnet.
@Jurgen REINGRUBER how did you deactivate the input via microphone in the editor? I could not find such a thing in the preferences.
Thanks for your help.
Walter Roberson
Walter Roberson el 23 de Jun. de 2021
The Big Sur problem is related to the version of Big Sur that you are using. Unfortunately the latest release slowed down the M1 a lot for many people. Reports are that using the newest R2021a Update helps.
Also, there is a bug report saying that for reasons not understood as yet, M1 users might need to invoke MATLAB from the terminal instead of from Dock or Icon in order to avoid crashes.
Abel Faure Beaulieu
Abel Faure Beaulieu el 23 de Jun. de 2021
Thank you a lot for your answer! In this case, I may try with R2021a, I will let you know if it solves the problem.
Abel Faure Beaulieu
Abel Faure Beaulieu el 6 de Jul. de 2021
Editada: Abel Faure Beaulieu el 9 de Jul. de 2021
I just come back to report that indeed, installing r2021a and installing the last update did the job: no lag anymore. Thanks a lot!
Edit: I talked too fast, the problem is still happening... It looks like it is becoming even more frequent.
I am not even using M1, I have a classic intel processor.
Jurgen REINGRUBER
Jurgen REINGRUBER el 9 de Jul. de 2021
Sorry for the late reply, I did not chek.
I disabled Dictation in the System Preferences, this helped.
Choose System Preferences, Keyboard, then Dictation

Iniciar sesión para comentar.

Respuestas (1)

Ajay Pattassery
Ajay Pattassery el 10 de Mayo de 2020

0 votos

1 comentario

Jurgen REINGRUBER
Jurgen REINGRUBER el 10 de Mayo de 2020
Thanks,
meanwhile I figured out what was the cuprit, it was the actiavtion of the input via the microphone. Since I deactivated this everything is fine.
J.

Iniciar sesión para comentar.

Categorías

Más información sobre Install Products en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 27 de Mzo. de 2020

Comentada:

el 9 de Jul. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by