annotate 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 |
rev |
line source |
3213
|
1 # run_cmd: short script used in demos |
|
2 # prints string cmd to the screen, then executes after a pause |
|
3 |
3229
|
4 # $Revision: 2.0.0.2 $ |
3213
|
5 |
|
6 disp(["Command: ",cmd]) |
|
7 puts("Press a key to execute command"); |
|
8 fflush(stdout); |
|
9 kbhit(); |
|
10 disp(" executing"); |
|
11 fflush(stdout); |
|
12 eval(cmd); |
|
13 disp("---") |
|
14 disp(" ") |