Run section is not working on 2022a

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.

2 Comments

Have you tried running the same code in previous version? Can you please send your code with same section break as in your case?
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.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2022a

Tags

Asked:

on 30 Jun 2022

Commented:

on 14 Sep 2022

Community Treasure Hunt

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

Start Hunting!