Matlab suddenly has issues with plot manipulation (like rotation) as well as adding paths
40 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
DBoss
el 21 de Mzo. de 2022
Respondida: DBoss
el 28 de Mzo. de 2022
Up until ten days or so, my Matlab 2021a was working fine. I am regularly plotting some FEM meshes in 3d, and I know I was able to (up until a week or two) normally manipulate figures, i.e. to rotate/zoom/move etc. As I save a lot of those, I noticed that even figures up to 1GB in size would be doable, in a sense that they might be a bit slow/clunky but fast enough to see a mesh from all sides in a reasonable amount of time.
Now, opening a 5-30 MB figures completely breaks everything. Matlab becomes unusually slow, e.g. rotation is extremely slow and once I click anywhere inside the plot it takes 10-20 seconds to get any kind of response from the figure, let alone the rotation you wanted to make with your pointer. At that time everything within Matlab freezes up completely. I'm essentially opening the same figures on which I've worked on a week or two ago, and a figure of this size (the exact same one) was not exhibiting any slow behaviour then. This of course also happens with figures my code outputs.
Moreover, I have a script which is essentially 30-40 calls of the "addpath Some_Path". Up until now, it was executed in a negligible amount of time, whereas now it takes 4-5 seconds for the same calls. I know these issues seem unrelated at first, however I just wanted to to point out they appeared at the same time.
I'm running MATLAB on Windows 10 (now 11 after updating it today) , I have 16 GB of RAM and a i7-1185G7 processor. I want to emphasize again, that this is a sudden change, and I have not modified anything regarding Matlab or Windows at the time when these issues began to appear. I have very little software installed on this system and the laptop itself is almost new, so I'm certain that nothing else is "taking RAM away" from Matlab. I noticed that right at the startup, Task Manager shows Matlab occupying almost 2GB RAM, which seems a bit excessive. (I haven't modified/created any startup scripts)
What I've tried so far:
- Reistalling MATLAB
- Updating to 2021b (from 2021a)
- Updating Windows as well as switching to Windows 11 as of today
- Checking Java heap memory (default value, 1152MB)
None of these have helped so far.
8 comentarios
Stephen23
el 21 de Mzo. de 2022
" but even without me running any of my code, these problems persist"
Ah, that is interesting.
"...for the people around me, on startup of Matlab, the task manager reserves 700-900MB of RAM, whereas for me a fresh startup of Matlab will appear with nearly 2GB of RAM"
Do you have a STARTUP file or MATLABRC file or anything else that runs when MATLAB starts?
Contact TMW technical support, they can probably help with this kind of issue easier than the volunteers here:
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!