Overview
Comment:All vars in lower case now
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8a55c56fc89dd4af539d46aff339780296fd247d817910b5e518a41d6c13d6b4
User & Date: gawthrop@users.sourceforge.net on 1998-07-25 20:40:35.000
Other Links: branch diff | manifest | tags
Context
1998-07-25
20:41:38
Spaces between numbers check-in: 75b1f72e26 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:40:35
All vars in lower case now check-in: 8a55c56fc8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
20:37:22
Removes -s (switches) option -- they are now assumed to be present
I still need to shift the old switch
check-in: 87887db96b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
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


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



# %% Revision 1.1  1998/02/25 22:10:25  peterg
# %% Initial revision
# %%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

system=$1
representation=$2

if [ "$representation" = "state" ]; then
    name='MTTx';

fi
if [ "$representation" = "input" ]; then
    name='MTTu';

fi
# Inform user
echo Creating $1_$2.m

#Create the $2 file complete with headers.
echo "function $name = $1_$2(t)" > $1_$2.m
echo "%% $2 file ($1_$2.m)" >> $1_$2.m
echo "%% Generated by MTT at `date`" >> $1_$2.m

# Global variable list
#echo  >>  $1_$2.m
#echo  'if (nargin==0), t=0; end;'>>  $1_$2.m
#echo  >>  $1_$2.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


# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.2  1998/07/25 09:48:31  peterg
# %% Tidied up for Pascal version
# %%
# %% Revision 1.1  1998/02/25 22:10:25  peterg
# %% Initial revision
# %%
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

system=$1
representation=$2

if [ "$representation" = "state" ]; then
    name='mttx';
    arg='';
fi
if [ "$representation" = "input" ]; then
    name='mttu';
    arg='(mttx,mttt)'
fi
# Inform user
echo Creating $1_$2.m

#Create the $2 file complete with headers.
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

# Global variable list
#echo  >>  $1_$2.m
#echo  'if (nargin==0), t=0; end;'>>  $1_$2.m
#echo  >>  $1_$2.m

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