M-File Help: runscript | View code for runscript |
Run an M-file in interactive fashion
runscript(fname, options) runs the M-file fname and pauses after every executable line in the file until a key is pressed. Comment lines are shown without any delay between lines.
'delay', D | Don't wait for keypress, just delay of D seconds (default 0) |
'cdelay', D | Pause of D seconds after each comment line (default 0) |
'begin' | Start executing the file after the commnent line %%begin (default true) |
'dock' | Cause the figures to be docked when created |
'path', P | Look for the file FNAME in the folder P (default .) |
© 1990-2012 Peter Corke.