10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright (c) P.J.Gawthrop 1991, 1994, 1995, 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.6 1997/01/05 19:34:35 peterg
# Don't write globals which are already assigned to a number.
#
## Revision 1.5 1996/09/13 19:41:39 peter
## *** empty log message ***
##
## Revision 1.4 1996/09/12 18:33:32 peter
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright (c) P.J.Gawthrop 1991, 1994, 1995, 1996
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.7 1997/08/29 07:58:17 peterg
## Changed MTT to mtt in the .m files.
##
# Revision 1.6 1997/01/05 19:34:35 peterg
# Don't write globals which are already assigned to a number.
#
## Revision 1.5 1996/09/13 19:41:39 peter
## *** empty log message ***
##
## Revision 1.4 1996/09/12 18:33:32 peter
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
write "% Read in the input";
write "u = $1_input(t)";
write "% Read in the definitions";
write "[nx,ny,nu,nz,nyz] = $1_def";
write "% Read in the arguments";
write "$1_args";
write "% Set up the State variables";
FOR i := 1:MTTNx DO
BEGIN
write "mttx", i, " = x(", i, ");";
END;
|
|
|
|
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
write "% Read in the input";
write "u = $1_input(t)";
write "% Read in the definitions";
write "[nx,ny,nu,nz,nyz] = $1_def";
% write "% Read in the arguments";
% write "$1_args";
write "% Set up the State variables";
FOR i := 1:MTTNx DO
BEGIN
write "mttx", i, " = x(", i, ");";
END;
|