Really slow to open variables

10 ビュー (過去 30 日間)
Neil Sheridan
Neil Sheridan 2020 年 12 月 11 日
回答済み: Gouri Chennuru 2020 年 12 月 15 日
Hi, Checking at the value of variables using ctrl-D has become extremely slow e.g. up to half a minute. Running of the programme is still OK but debugging has become almost impossible. I've been running the same programme (which is long and complicated) for years without this experience. The following may have something to do with it:
  • Just upgraded from 2018a to 2020b
  • New laptop
  • Now working remotely
I'm thinking something to do with network or the path on the new implementation. Any suggestions would be gratefully received.
Thanks, Neil
  2 件のコメント
Sindar
Sindar 2020 年 12 月 15 日
If you are now dealing with data on a remote machine, it may require Matlab to download the variable to your computer each time. If possible, I'd suggest downloading (some) data to your computer for debugging purposes. It may also be faster to output the variable directly instead of using the variable browser
Neil Sheridan
Neil Sheridan 2020 年 12 月 15 日
Hi Sindar, thanks for the reply. The code modules and data sources need to be downloaded via the internet and I understand that this will slow things down a bit but I don't think the variables are meant to be on a remote machine - If I go onto Task Manager I can see RAM filling up as my code runs.

サインインしてコメントする。

回答 (2 件)

Hiro Yoshino
Hiro Yoshino 2020 年 12 月 15 日
R2020b has some updates. The most recent one was updates 3.
You should update your MATLAB then see if it mitigates the problem.
  1 件のコメント
Neil Sheridan
Neil Sheridan 2020 年 12 月 15 日
Hi Hiro, thanks for the suggestion but I went over to the add-on manager:"MATLAB R2020b is up to date."

サインインしてコメントする。


Gouri Chennuru
Gouri Chennuru 2020 年 12 月 15 日
Hi Neil,
As per my understanding, It looks like caches are too big and have to be cleared.
As a workaround, You can perform the following
1) You can open command prompt and execute the following command
rehash toolboxcache
2) You can also try the "brute force" way, execute the command in MATLAB command prompt
winopen(prefdir)
And clear everything inside.
As an alternative, the clean way is to rename the opened directory, by appending a _old for instance
Then restart MATLAB.
Refer to this Link for more information
Hope this Helps!

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by