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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by