Matlab R2021b freezing during simple commands on Monterey 12.2

8 visualizaciones (últimos 30 días)
Colin Raymond
Colin Raymond el 18 de Feb. de 2022
Respondida: Tim Lueth el 6 de Dic. de 2022
I have recently begun experiencing random freezes when executing simple commands, such as calling an integer variable. This happens after using Matlab normally for 5-15 min. When the operation stalls I attempt to exit with control-C, and get a message like
"Operation terminated by user during mtree (line 132)
In matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip (line 29)
parseTree = mtree(file,'-file');"
but although the computer fan speed slows, Matlab remains busy even after many minutes, and is not responsive. The only solution so far has been to force-quit. The size of the workspace is rather small (<50 MB), so I don't believe that's the issue. I also have been following the recommendation to start Matlab using an alias created from Terminal, rather than directly from the Applications folder. Any ideas as to what's going on?
  1 comentario
Tim Lueth
Tim Lueth el 25 de Mzo. de 2022
I am still using OSX10.15 and OSX10.16 together with R2021b, but even there there is a freeze from time to time due to the OSX processes "Spindump" or "Sandbox", which seem to occupy 98% of the core used by Matlab.
If you terminate these processes manually, Matlab immediately accelerates back to normal behavior.
I have written a Matlab function that detects the appearance of these processes and deletes the processes "Spindump" or "Sandbox" by Matlab itself. The matlab console always (!) freezes when I execute more complex calls of the function "system" from Matlab with accesses to multiple directories of folders using OSX10.15 and OSX10.16 together with R2021b.

Iniciar sesión para comentar.

Respuestas (1)

Tim Lueth
Tim Lueth el 6 de Dic. de 2022
https://de.mathworks.com/matlabcentral/answers/863575-matlab-and-sandbox-process-peak-cpu-usage-in-macos-big-sur#answer_1121102

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by