Overview
Comment:\% --> % to avoid awk error message
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 833d750d7859be34369dd7c412e18c208c3a0b11c60451ea39187db61e98fd4a
User & Date: gawthrop@users.sourceforge.net on 2002-04-25 09:56:27
Other Links: branch diff | manifest | tags
Context
2002-04-26
16:16:33
Removed unnecessary variables PLAT and GCCVERS. check-in: 08d8e1b4db user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-04-25
09:56:27
\% --> % to avoid awk error message check-in: 833d750d78 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-04-23
17:50:39
error --> err to avoid name clash with built in function check-in: 1288c7a627 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/struc2sspar_txt2r from [64274bba4e] to [48a2db67a9].

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cat $MTTPATH/trans/rcs_header.m  >> $1_sspar.r

echo  >> $1_sspar.r

echo "% Steady-state states" >> $1_sspar.r
awk '{
  if ($1=="state") 
    print "MTTX" $2 " := \t0; \% " $4 " (" $3 ")"
}' \
 $1_struc.txt >> $1_sspar.r


echo "% Steady-state inputs" >> $1_sspar.r
awk '{
  if ($1=="input") 
    print "MTTU" $2 " := \t0; \% " $4 " (" $3 ")"
}' \
 $1_struc.txt >> $1_sspar.r


echo ";;END;" >> $1_sspar.r









|







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cat $MTTPATH/trans/rcs_header.m  >> $1_sspar.r

echo  >> $1_sspar.r

echo "% Steady-state states" >> $1_sspar.r
awk '{
  if ($1=="state") 
    print "MTTX" $2 " := \t0; % " $4 " (" $3 ")"
}' \
 $1_struc.txt >> $1_sspar.r


echo "% Steady-state inputs" >> $1_sspar.r
awk '{
  if ($1=="input") 
    print "MTTU" $2 " := \t0; % " $4 " (" $3 ")"
}' \
 $1_struc.txt >> $1_sspar.r


echo ";;END;" >> $1_sspar.r



MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]