Filter löschen
Filter löschen

debug few lines

1 Ansicht (letzte 30 Tage)
Uday
Uday am 27 Sep. 2011
I would like to run only few lines from script is there any way to do that ?

Akzeptierte Antwort

Andreas Goser
Andreas Goser am 27 Sep. 2011
  1. Select the few lines and press F9 ("Evaluate Selection" - also from the menu)
  2. Check out Cell Mode

Weitere Antworten (1)

the cyclist
the cyclist am 27 Sep. 2011
One way is to use "cell mode". Put the characters "%%" (without quotes) on the lines above and below the section you want to run. Put the cursor in that section, and it will be highlighted. You can then run just that section.

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by