Run section is not working on 2022a

18 views (last 30 days)
Dilek Ors
Dilek Ors on 30 Jun 2022
Commented: Zach Sims on 14 Sep 2022
Hi everyone,
Whenever I use section breaks and run sections seperately, if I modify something in the section I can not use the run section again. It either crushes or takes awfully long to run the section. Does anyone else also experiencing same issue with 2022a? It was working fine in the previous version.
Karan Kannoujiya
Karan Kannoujiya on 3 Jul 2022
Have you tried running the same code in previous version? Can you please send your code with same section break as in your case?
Zach Sims
Zach Sims on 14 Sep 2022
I am getting the exact same issue. I haven't tried to select a section and hit F9 like people have suggested, but this but almost makes script development impossible. I have to restart Matlab each time and just run the full script which is also prohibitive.

Sign in to comment.

Answers (1)

the cyclist
the cyclist on 3 Jul 2022
Take a look at my question and answer here.
There was a known bug in R2021b (although not exactly what you describe), but I am surprised to hear that this was not resolved for you in R2022a. It works for me in that version, on a Mac.


Find more on MATLAB in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!