Long hang times in r2021b - mtree?

12 ビュー (過去 30 日間)
Andrew Peters
Andrew Peters 2022 年 3 月 6 日
コメント済み: mark 2022 年 6 月 8 日
I recently upgraded from R2018a to R2021b, sometimes (spontaneously, also can spontaneously resolve) it can have extremely long hang times when running code in a script and more likely when 'Executing selection'.
This doesn't go away with exiting/restarting matlab, using the default path, or turning off Code Analyzer. If I run simple code (e.g. a = 4; disp(a(1))) with tic/toc the computation time is as expected but the time to actually finish execution is many seconds. If I run longer code I can ctrl-c to stop execution and it always errors with :
Operation terminated by user during mtree (line 132)
In matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip (line 29)
parseTree = mtree(file,'-file');
Is there something in r2021 that's causing this issue?
  4 件のコメント
Andrew Peters
Andrew Peters 2022 年 5 月 9 日
I upgraded to R2022a and haven't experienced it since then - maybe it's been fixed?
mark
mark 2022 年 6 月 8 日
Same behavior in 2022a for me unfortunately.

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

回答 (1 件)

Adrianus Johannes van der Pijl
Adrianus Johannes van der Pijl 2022 年 6 月 6 日
  1 件のコメント
mark
mark 2022 年 6 月 8 日
Thanks, this didn't seem to change anything unfortunately.

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

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by