Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -17,10 +17,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.7 1996/08/11 19:49:27 peter +## Parameter passing (via $4) added. +## ## Revision 1.6 1996/08/11 10:40:56 peter ## Added new numpar stuff. ## Added step response. ## ## Revision 1.5 1996/08/10 14:13:47 peter @@ -84,10 +87,15 @@ if [ "$1" = "clean" ] && [$2 = ""]; then echo 'Removing log, dvi and ps files' rm *.log *.dvi *.ps exit fi + +# Save up the argument list in a file. +cat > macmic_args.m < $1_simp.r $1_numpar.m: $1_sympar.r - mknumpar $1; matlab_tidy $1_numpar.m; matlab_tidy $1_parconv.m + mknumpar $1; matlab_tidy $1_numpar.m; $1_sspar.r: echo Creating $1_sspar.r echo "%% Reduce steady-state parameter file ($1_sspar.r)" > $1_sspar.r @@ -240,17 +248,17 @@ $1_tf.tex: $1_def.r $1_tf.r $1_sympar.r $1_simp.r tf_r2tex $1; latex_tidy $1_tf.tex #Time responses -$1_ir.dat: $1_dm.m $1_numpar.m +$1_ir.dat: $1_dm.m $1_numpar.m $1_args.m dm2ir_m2dat $1 '$4' -$1_sr.dat: $1_dm.m $1_numpar.m +$1_sr.dat: $1_dm.m $1_numpar.m $1_args.m dm2sr_m2dat $1 '$4' #Frequency responses -$1_fr.dat: $1_dm.m $1_numpar.m +$1_fr.dat: $1_dm.m $1_numpar.m $1_args.m dm2fr_m2dat $1 '$4' #Partially-known system indentification structure matrices $1_pkim.r: $1_tf.r $1_sympar.r tf2pkim_r $1; tidy $1_pki.r