In R2021b, is it still possible to instruct MATLAB to run individual sections consecutively?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Thijs de Buck
am 3 Jan. 2022
Beantwortet: Abhishek Kolla
am 6 Jan. 2022
Before I updated, I could (for example) instruct MATLAB to consecutively run the 2nd, 4th, and 7th section of a MATLAB script by first going to section 2, running it (Cmd + return), then going to section 4, running it, and then going to section 7 and running it.
However, if I try to do that in R2021b, once I click Cmd+return in the 4th section while the 2nd is still running (large datasets, so every step takes a few minutes), section 2 stops running ("Operation terminated by user") and section 4 starts running immediately.
Is there a way that I can change this new setting, such that section 4 will start running after section 2 has finished?
0 Kommentare
Akzeptierte Antwort
Abhishek Kolla
am 6 Jan. 2022
Hi,
You can use 'Run and Advance' (Ctrl+Shift+Enter) instead of 'Run Section', upon which none of the sections get terminated.
Hope this helps.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!