How can I increment values and run a cell in the MATLAB Editor for rapid code iteration in MATLAB 8.0 (R2012b)?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Jul 2013
Answered: cui,xingxing
on 21 Nov 2022
In MATLAB 7.14 (R2012a), there were a set of tools in the MATLAB Editor's menu that would allow me to increment, decrement, and scale a numeric value and run the cell that contains that value by placing a cursor near that numeric value and clicking plus, minus, divide, or times button.
This was very useful for rapid code iteration.
I cannot find the same functionality in MATLAB 8.0 (R2012b).
Accepted Answer
MathWorks Support Team
on 3 Jul 2013
The rapid code iteration toolbar was moved into a right-click context menu.
You can make it a appear by right clicking in the editor and selecting "Increment value and run selection." A small box will appear. Place the cursor next to the value you want to edit. Clicking the plus, minus, times, and divide buttons will change the value near the cursor and run the section.
The following documentation link provides additional information on this topic.
<http://www.mathworks.com/help/matlab/matlab_prog/run-sections-of-programs.html>
0 Comments
More Answers (1)
cui,xingxing
on 21 Nov 2022
This feature was removed since R2021b, which is a bit of a shame.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!