How can I increment values and run a cell in the MATLAB Editor for rapid code iteration in MATLAB 8.0 (R2012b)?

12 views (last 30 days)
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
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.

More Answers (1)

cui on 21 Nov 2022


Find more on Live Scripts and Functions 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!