MATLAB 2021b: Run Section not responsive

조회 수: 6 (최근 30일)
Arpad Voros
Arpad Voros 2021년 11월 27일
댓글: Randy Thurman-Keup 2022년 8월 9일
In all my previous experiences of MATLAB versions (2016b - 2021a), I press the 'Run Section' button and it immediately runs.
When I press it in 2021b, sometimes it is responsive but other times it can take upwards to 20-60 seconds to respond (actually start running the section). The script itself runs at the expected rate, but I have no idea why starting the script has such a large delay. It is not a rare occurance, since I tend to encounter this multiple times an hour.
It can get quite frustrating, especially when I am trying to run something extremely simple. I am just wondering if anyone else has encounter this issue, or if the dev's are aware of it.
I am running:
Windows 10 64bit
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz 2.71 GHz
8GB RAM
EDIT:
After posting this, I tried to notice patterns on when 'Run Section' was unresponsive. For the most part, it occurs after an edit has been made within the section you are trying to rerun. However, it is still for the most part sporadic.
  댓글 수: 5
Ole Wulff
Ole Wulff 2022년 7월 27일
편집: Ole Wulff 2022년 7월 27일
I have run into the same problem, which makes it difficult to trouble shoot code. Yannick, have you found any other work-around for this problem?
Randy Thurman-Keup
Randy Thurman-Keup 2022년 8월 9일
I seem to have the same problem, but only for a section at the end of a long file with many sections. If I execute a section near the beginning of the long file it runs quick. Or if I take the problem section and place it in a new file, then it always runs promptly as well.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by