Index: mttroot/mtt/bin/trans/mtt_header ================================================================== --- mttroot/mtt/bin/trans/mtt_header +++ mttroot/mtt/bin/trans/mtt_header @@ -10,10 +10,14 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.58 2004/06/20 13:34:11 gawthrop +## Create vectors using zeros(N,1) - avoids new octave +## default to row vector - more reps now included +## ## Revision 1.57 2004/06/20 10:18:00 gawthrop ## Explicitly size vectors - avoid default row vector bug ## ## Revision 1.56 2003/04/17 20:07:33 geraint ## Added rule to create _sese.m @@ -350,10 +354,11 @@ numpar) states=no; inputs=no; parameters=no; output='mttpar' + zeromatrices='par' ;; ode) states=yes; inputs=yes; parameters=yes; @@ -561,11 +566,11 @@ let Nx=Nx+2*Nz+Nyz # Matrices not usual size ;; *) esac - ##Npar=`wc -l $system\_sympar.txt | gawk '{print $1}'` + Npar=`wc -l $system\_sympar.txt | gawk '{print $1}'` } zero_matrices() { ## Set matrices to zero @@ -607,10 +612,13 @@ N=$Nx; M=1 ;; ax) N=$Nx; M=1 ;; + par) + N=$Npar; M=1 + ;; *) esac if [ "${language}" = "oct" ]; then