- Select the few lines and press F9 ("Evaluate Selection" - also from the menu)
- Check out Cell Mode
debug few lines
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I would like to run only few lines from script is there any way to do that ?
0 comentarios
Respuesta aceptada
Andreas Goser
el 27 de Sept. de 2011
0 comentarios
Más respuestas (1)
the cyclist
el 27 de Sept. de 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.
0 comentarios
Ver también
Categorías
Más información sobre Debugging and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!