Why is R2020a slow to return errors?
4 次查看(过去 30 天)
显示 更早的评论
When I switched to R2020a (Windows), I noticed that a simple error at the command line takes about 20 seconds to resolve,
% Simple mistyping of command "min" cause Matlab to hang for 20 seconds
muin(rand(1,1000));
Unrecognized function or variable 'muin'.
% Nonsense command causes similar hang time
asdfasdfkkasdfasdf
Unrecognized function or variable 'asdfasdfkkasdfasdf'.
Any suggestions of how to eliminate this? I am curious which internal process is hanging.
0 个评论
采纳的回答
Steven Lord
2020-8-11
Do you have any network directories on your MATLAB path? If MATLAB has to search those network directories to determine if there's a potential match to suggest as a correction (the "Did you mean" functionality) that could slow the error process down.
Try temporarily removing those directories from the MATLAB path and check if the problem is resolved.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!