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

6 vues (au cours des 30 derniers jours)
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).

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 3 Juil 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>

Plus de réponses (1)

cui,xingxing
cui,xingxing le 21 Nov 2022

Catégories

En savoir plus sur Specifying Target for Graphics Output dans Help Center et File Exchange

Produits


Version

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by