Busy forever in Matlab R2019a
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Larry D'Addario
le 12 Sep 2019
Modifié(e) : Larry D'Addario
le 13 Sep 2019
Running R2019a under Windows 10, I suddenly find that various commands cause Matlab to enter the 'busy' state forever. The only recourse seems to be forcing Matlab to end via Task Manager. The problematic commands include:
saveas % for all file types except .fig
cd % when changing to a non-existent directory, e.g. mis-typing the path.
Sometimes this makes the whole computer unusable, with other programs 'not responding' for a long time. Task Manager shows disk use at 100%, but with very little disk throughput, <100kB/s.
This didn't happen a week ago on the same machine. I haven't made any changes to Matlab, but I do accept the Windows updates pushed by Microsoft.
1 commentaire
Adam Danz
le 12 Sep 2019
Moving my answer here as a comment after ruling out this possibility.
Since r2017b, when you change the cd(), the 'current folder history' is updated. When paths from network locations end up on the current folder history and the network becomes unavailable, an undefined variable or function (often caused by a typo) may cause an unbearable delay in the error message to appear.
I dealt with this problem off and on for years before finally coming up with a solution that fixes it. I recently uploaded a GUI to the file exchange that addresses the problem. If this is what you're facing, please give it a try and let me know if it works for you, too.
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!