Increment value and run for cells missing in R2021b
Mostra commenti meno recenti
Has the "Increment and run" feature for code in the editor been removed in 2021b? I understand that live scripts implement it but its clunky for what I want to do.
Risposta accettata
Più risposte (1)
Hi Chris,
You are correct that Increment Value and Run Section tool has been removed in R2021b, checkout release Notes
To increment a numeric value within a section, use controls in the Live Editor. For example, this code calculates the factorial of the variable x.
x = 5;
y = factorial(x)
To interactively change the value of x, in a live script, replace the value 5 with a numeric slider. By default, MATLAB reruns the current section when the value of the slider changes.

11 Commenti
Reza
il 4 Nov 2021
This solution is not applicable in the normal editor. Why the feature was removed in the normal editor?
Martin Vesely
il 1 Dic 2021
Indeed. Why this feature is missing in normal editor (2021b)? I really think about downgrading back to previous matlab version.
Please, put the feature back!
Zeb Barber
il 13 Dic 2021
I agree, I used this feature all the time. The live editor is so slow compared to running scripts in the standard editor
Dario Bosch
il 16 Dic 2021
I'm totally with you. While I like some of the changes in 2021b, this is awful. Live editor isn't really a good replacement to the conventional editor...
CdC
il 4 Gen 2022
PLEASE PUT INCREMENT AND RUN BACK in the next release! This is a very important feature. We're not able to use the latest matlab versions of everything because of this. Don't decide for your users that they don't need this long-loved feature. Thank you.
Steven Lord
il 24 Gen 2022
Please don't post questions about Prerelease versions of our products on MATLAB Answers. Send them to Technical Support instead.
Hongyu Chang
il 27 Gen 2022
Such a shame that they've removed such a crucial feature!
Nidhi Jain
il 13 Apr 2022
Hello everyone,
Thank you for providing feedback on this post. If any of you would like to help answer a few questions around the usability of the "Increment Value and Run Section" tool, please reach out to me via MATLAB Answers by clicking on my name and then clicking "Contact".
Matthieu
il 2 Set 2022
Really a pitty... missing feature...
xingxingcui
il 21 Nov 2022
This feature was removed a little too quickly, which is a bit of a shame.
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!