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

2 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.
<http://www.mathworks.com/help/matlab/matlab_prog/run-sections-of-programs.html>

More Answers (1)

cui,xingxing
cui,xingxing on 21 Nov 2022

Categories

Find more on Scripts in Help Center and File Exchange

Products


Release

R2012b

Community Treasure Hunt

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

Start Hunting!