Mercurial > hg > octave-jordi
view scripts/control/run_cmd.m @ 3229:28aba52a2368
[project @ 1998-12-10 03:06:31 by jwe]
author | jwe |
---|---|
date | Thu, 10 Dec 1998 03:06:32 +0000 |
parents | dbcc24961c44 |
children | 98e15955107e |
line wrap: on
line source
# run_cmd: short script used in demos # prints string cmd to the screen, then executes after a pause # $Revision: 2.0.0.2 $ disp(["Command: ",cmd]) puts("Press a key to execute command"); fflush(stdout); kbhit(); disp(" executing"); fflush(stdout); eval(cmd); disp("---") disp(" ")