9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Acausal bond graph to causal bond graph: mfile format
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.17 2001/06/13 10:41:06 gawthrop
## Further changes towards aouto creation of lbl files.
## Prettified lbl files
##
## Revision 1.16 2001/06/11 19:43:49 gawthrop
## MTT is now much more sophisticated in generating lbl files
## Labels can contain maths
|
>
>
>
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Acausal bond graph to causal bond graph: mfile format
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.18 2001/06/13 18:24:10 gawthrop
## Made "lin" default in place of "none"
## Still needs arg and cr alias clashes to be sorted ....
##
## Revision 1.17 2001/06/13 10:41:06 gawthrop
## Further changes towards aouto creation of lbl files.
## Prettified lbl files
##
## Revision 1.16 2001/06/11 19:43:49 gawthrop
## MTT is now much more sophisticated in generating lbl files
## Labels can contain maths
|
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
echo "Creating ${outfile}"
fi
write_header()
{
cat<<EOF
## System ${system}, representation lbl, language txt
## File ${system}_lbl.txt
## Generated by MTT on `date`
EOF
cat $MTT_DOC/mtt_version.sh
}
write_blurb()
{
cat <<EOF
## Each line should be of one of the following forms:
|
>
>
>
>
>
|
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
echo "Creating ${outfile}"
fi
write_header()
{
cat<<EOF
#SUMMARY ${system}
#DESCRIPTION Detailed description here
## System ${system}, representation lbl, language txt
## File ${system}_lbl.txt
## Generated by MTT on `date`
EOF
cat $MTT_DOC/mtt_version.sh
}
write_blurb()
{
cat <<EOF
## Each line should be of one of the following forms:
|