Overview
Comment: | Give argument to state |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
02b51de6e82835ea1a2d4716e3ad3a92 |
User & Date: | gawthrop@users.sourceforge.net on 2000-05-19 17:46:17 |
Other Links: | branch diff | manifest | tags |
Context
2000-05-19
| ||
17:46:41 | New version of state with par argument check-in: 3604ea5a89 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:46:17 | Give argument to state check-in: 02b51de6e8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:36:55 | -c check-in: ae30b5066a user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_txt2m from [3a8a37d8d0] to [20a33a68be].
︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.5 2000/05/19 14:05:10 peterg # %% Zero parameters in the numpar.m file # %% # %% Revision 1.4 2000/05/18 12:05:42 peterg # %% Replaced sympar by sympars in numpar rep # %% # %% Revision 1.3 2000/05/11 16:09:24 peterg | > > > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.6 2000/05/19 14:59:03 peterg # %% MTT --> mtt in fun output # %% # %% Revision 1.5 2000/05/19 14:05:10 peterg # %% Zero parameters in the numpar.m file # %% # %% Revision 1.4 2000/05/18 12:05:42 peterg # %% Replaced sympar by sympars in numpar rep # %% # %% Revision 1.3 2000/05/11 16:09:24 peterg |
︙ | ︙ | |||
118 119 120 121 122 123 124 125 126 127 128 129 130 131 | lang_header -noglobals $1 simpar m '' mttsimpar > $1_simpar.m ;; numpar) lang_header $1 numpar m '' mttpar > $1_numpar.m; echo "## Set parameters to zero" >> $1_numpar.m; sympar2par_txt2m $1 zero >> $1_numpar.m; ;; *) echo "function $name = $1_$2$arg" > $1_$2.m echo "%% $2 file ($1_$2.m)" >> $1_$2.m echo "%% Generated by MTT at `date`" >> $1_$2.m echo "% Global variable list" >> $1_$2.m sympar2global_txt2m $1 >> $1_$2.m ;; | > > > > > > > | 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | lang_header -noglobals $1 simpar m '' mttsimpar > $1_simpar.m ;; numpar) lang_header $1 numpar m '' mttpar > $1_numpar.m; echo "## Set parameters to zero" >> $1_numpar.m; sympar2par_txt2m $1 zero >> $1_numpar.m; ;; state) lang_header $1 $2 m 'mttpar' mttx > $1_$2.m; echo " if nargin>0" >> $1_$2.m; echo " ## Set parameters" >> $1_$2.m; sympar2par_txt2m $1 >> $1_$2.m; echo " endif" >> $1_$2.m; ;; *) echo "function $name = $1_$2$arg" > $1_$2.m echo "%% $2 file ($1_$2.m)" >> $1_$2.m echo "%% Generated by MTT at `date`" >> $1_$2.m echo "% Global variable list" >> $1_$2.m sympar2global_txt2m $1 >> $1_$2.m ;; |
︙ | ︙ |