Overview
Comment:Removed all the MTTnnn conversions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 5ec5526cb9ff4561656091e18a80a2d07a09c0d5037a36b0f8217daafde73dc7
User & Date: gawthrop@users.sourceforge.net on 1998-07-25 09:07:40
Other Links: branch diff | manifest | tags
Context
1998-07-25
09:42:09
Just sets finrst input to 1 - rest to zero check-in: 02cf785113 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:07:40
Removed all the MTTnnn conversions check-in: 5ec5526cb9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:11:35
No longer used the SS method - just sets zero states check-in: f6d9fdeda7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/matlab_tidy from [7600d39958] to [3301711ae7].

1
2
3
4
5
6
7
8
9
10
11







12
13
14
15
16
17
18
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

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







# Revision 1.2  1996/08/20  08:26:06  peter
# Version control header added.
#
###############################################################

# Bourne shell script: matlab_tidy
# Tidies up Matlab format files











>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.3  1997/08/28  13:41:57  peterg
# Removes translation of:
# mttx
# mttdx
# mtty
# mttu
#
# Revision 1.2  1996/08/20  08:26:06  peter
# Version control header added.
#
###############################################################

# Bourne shell script: matlab_tidy
# Tidies up Matlab format files
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
    -e "s/;;/;/g" \
    -e "s/:=/=/g" \
    -e "s/ e  /e/g" \
    -e "s/*;/* .../g" \
    -e "s/+;/+ .../g" \
    -e "s/     . //g" \
    -e "s/^;$//g" \
    -e "s/mttx0/X_0/g" \
    -e "s/mttu0/u_0/g" \
    -e "s/mtty0/y_0/g" \
    -e "s/mtta/A/g" \
    -e "s/mttb/B/g" \
    -e "s/mttc/C/g" \
    -e "s/mttd/D/g" \
    -e "s/mtte/E/g" \
    -e "s/mtttf/G/g" \
    -e "s/mttpar/MTTPAR/g"  \
    -e "s/\.\.\\$/../g"  \
    -e "s/\\$/;/g"  \
    -e "s/inv(mtte)\*/mtte\\\/g"\
    -e "s/\\$//" |\
tr -s '\012' '\012'\
>junk
mv junk $1











<
<
<
<
<
<
<
<
<
<











46
47
48
49
50
51
52










53
54
55
56
57
58
59
60
61
62
63
    -e "s/;;/;/g" \
    -e "s/:=/=/g" \
    -e "s/ e  /e/g" \
    -e "s/*;/* .../g" \
    -e "s/+;/+ .../g" \
    -e "s/     . //g" \
    -e "s/^;$//g" \










    -e "s/\.\.\\$/../g"  \
    -e "s/\\$/;/g"  \
    -e "s/inv(mtte)\*/mtte\\\/g"\
    -e "s/\\$//" |\
tr -s '\012' '\012'\
>junk
mv junk $1





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