Overview
Comment:MTT --> mtt in fun output
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 099dcd79c2b4c726d3678396bbbc9df50df0a7f44ccb85a89693b36eafe10dd5
User & Date: gawthrop@users.sourceforge.net on 2000-05-19 14:59:03
Other Links: branch diff | manifest | tags
Context
2000-05-19
17:34:30
Put in -c check-in: 2f8caa817e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:59:03
MTT --> mtt in fun output check-in: 099dcd79c2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:30:03
New SS labels check-in: 206e9b8484 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_txt2m from [2e1063dc27] to [3a8a37d8d0].

11
12
13
14
15
16
17



18
19
20
21
22
23
24


# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$



# %% 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
# %% Put in simpar.first parameter
# %%
# %% Revision 1.2  2000/05/11 12:16:46  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.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
# %% Put in simpar.first parameter
# %%
# %% Revision 1.2  2000/05/11 12:16:46  peterg
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

#Create the $2 file complete with headers.
case $representation in
    simpar)
      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







|







114
115
116
117
118
119
120
121
122
123
124
125
126
127
128

#Create the $2 file complete with headers.
case $representation in
    simpar)
      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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
>> $1_$2.m


if [ "$2" = "numpar" ]; then
   echo "## Set up the parameter vector"  >> $1_numpar.m;
   sympar2par_txt2m $1 set   >> $1_numpar.m;
fi
















<
<
<
<
<
<
<
180
181
182
183
184
185
186
187







>> $1_$2.m


if [ "$2" = "numpar" ]; then
   echo "## Set up the parameter vector"  >> $1_numpar.m;
   sympar2par_txt2m $1 set   >> $1_numpar.m;
fi









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