Busy forever in Matlab R2019a
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Adam Danz
2019-9-12
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.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!