MATLAB 2021b: Run Section not responsive
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 27 Nov 2021
Question: are you doing this for Live Script, or older style code ?
Arpad Voros
le 27 Nov 2021
Yannick Linus Schubert
le 14 Jan 2022
Modifié(e) : Yannick Linus Schubert
le 14 Jan 2022
I have recognised the same issue on different PCs, but only with the latest version 2021b. Writing a simple command such as "clc" forces the section run, but this is still very annoying. I ended up using only earlier versions, since it doesn't occur there.
Randy Thurman-Keup
le 9 Août 2022
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.
Réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!