Matlab R2021b freezing during simple commands on Monterey 12.2

8 vues (au cours des 30 derniers jours)
Colin Raymond
Colin Raymond le 18 Fév 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 commentaire
Tim Lueth
Tim Lueth le 25 Mar 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.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by