Overview
| Comment: | Write out the RCS header first! |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
e59d7a2fada9649709e86b275d3c44d7 |
| User & Date: | gawthrop@users.sourceforge.net on 1997-04-17 11:18:34.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1997-04-22
| ||
| 12:50:15 |
New much simpler version -- does not check for multiple crs -- these are removed later anyway. check-in: 3661becaf8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1997-04-17
| ||
| 11:18:34 | Write out the RCS header first! check-in: e59d7a2fad user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
1997-04-16
| ||
| 13:43:29 | Added matrix dimenensions check-in: e5f40ddabd user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/sympar2params_txt2m
from [48695f1650]
to [7416ea5275].
| ︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.1 1997/04/16 11:31:41 peterg # Initial revision # ############################################################### # Inform user echo "Creating $1_params.m" rm -f mtt_error #Write some file headers echo "% Parameter file for system $1 ($1_params.m)" > $1_params.m echo "% This file provides the system params for simulation:" >> $1_params.m echo "% Generated by MTT at `date`" >> $1_params.m echo "% These default parameters should be changed by the user" >> $1_params.m echo >> $1_params.m #Write out the global variables sympar2global_txt2m $1 >> $1_params.m | > > > > > > > < < < | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# Copyright (c) P.J.Gawthrop, 1997.
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.2 1997/04/16 11:40:31 peterg
# Added global variables.
#
# Revision 1.1 1997/04/16 11:31:41 peterg
# Initial revision
#
###############################################################
# Inform user
echo "Creating $1_params.m"
rm -f mtt_error
#Write some file headers
echo "% Parameter file for system $1 ($1_params.m)" > $1_params.m
echo "% This file provides the system params for simulation:" >> $1_params.m
echo "% Generated by MTT at `date`" >> $1_params.m
echo "% These default parameters should be changed by the user" >> $1_params.m
echo >> $1_params.m
cat $MTTPATH/trans/rcs_header.m >> $1_params.m
echo >> $1_params.m
#Write out the global variables
sympar2global_txt2m $1 >> $1_params.m
#Write out the variables in c format.
awk '{i++; print tolower($1) " = \t1.0;"}' $1_sympar.txt >> $1_params.m
# Now invoke the standard error handling.
# mtt_error mtt_error.txt
|