Borrar filtros
Borrar filtros

Executing part of the script from command line

6 visualizaciones (últimos 30 días)
Orion
Orion el 29 de Jul. de 2012
I am running the MATLAB on command window on a linux machine. I was wondering if there is any command that lets us run just part of a script. for instance, with a Windows OS, you would just select the part in the editor window and then hit F9. is there any way to do the same in nodesktop mode?
Further Info: the way I work with nodesktop: I have two command windows, matlab is running in one and script is in the other one.
Thanks

Respuesta aceptada

Walter Roberson
Walter Roberson el 29 de Jul. de 2012
There is nothing in that scenario that would allow you to start somewhere after the first line.
To stop early, dbstop at the first executable line after the last line you want executed.
Beyond that... copy the lines to a new script file and execute that.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown 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!

Translated by