comparison scripts/control/bddemo.m @ 3381:69b167451491

[project @ 1999-12-15 20:48:10 by jwe]
author jwe
date Wed, 15 Dec 1999 20:48:45 +0000
parents 8dd4718801fd
children ebf69eb3d07d
comparison
equal deleted inserted replaced
3380:f5edd74bdc6c 3381:69b167451491
1 # Copyright (C) 1996 Auburn University. All Rights Reserved 1 ## Copyright (C) 1996 Auburn University. All Rights Reserved
2 # 2 ##
3 # This file is part of Octave. 3 ## This file is part of Octave.
4 # 4 ##
5 # Octave is free software; you can redistribute it and/or modify it 5 ## Octave is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the 6 ## under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2, or (at your option) any 7 ## Free Software Foundation; either version 2, or (at your option) any
8 # later version. 8 ## later version.
9 # 9 ##
10 # Octave is distributed in the hope that it will be useful, but WITHOUT 10 ## Octave is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # for more details. 13 ## for more details.
14 # 14 ##
15 # You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 # along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. 17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File } { outputs =} bddemo ( inputs ) 20 ## @deftypefn {Function File } { outputs =} bddemo ( inputs )
21 ## Octave Controls toolbox demo: Block Diagram Manipulations demo 21 ## Octave Controls toolbox demo: Block Diagram Manipulations demo
22 ## @end deftypefn 22 ## @end deftypefn
23 23
24 function bddemo() 24 function bddemo()
25 # Written by David Clem August 15, 1994 25
26 # Modified by A S Hodel Summer-Fall 1996 26 ## Written by David Clem August 15, 1994
27 ## Modified by A S Hodel Summer-Fall 1996
27 28
28 str_sav = implicit_str_to_num_ok; 29 str_sav = implicit_str_to_num_ok;
29 sav_page = page_screen_output; 30 sav_page = page_screen_output;
30 implicit_str_to_num_ok = 1; 31 implicit_str_to_num_ok = 1;
31 page_screen_output = 1; 32 page_screen_output = 1;
309 run_cmd 310 run_cmd
310 disp("sysp=") 311 disp("sysp=")
311 sysout(sysp); 312 sysout(sysp);
312 prompt 313 prompt
313 elseif (k == 12) 314 elseif (k == 12)
314 # buildssic description 315 ## buildssic description
315 disp(" ") 316 disp(" ")
316 disp(" ---------------------------------------") 317 disp(" ---------------------------------------")
317 disp(" b u i l d s s i c") 318 disp(" b u i l d s s i c")
318 disp(" (BUILD State Space InterConnections)") 319 disp(" (BUILD State Space InterConnections)")
319 disp(" ---------------------------------------") 320 disp(" ---------------------------------------")