Overview
Comment:Updated obsolete path name.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d8b11b1193b5217ed1a4e614a36ac6f09feae22155bf5114b715a06fdea9ff25
User & Date: gawthrop@users.sourceforge.net on 2004-02-10 09:51:07
Other Links: branch diff | manifest | tags
Context
2004-02-10
10:13:05
Handles #SUMMARY correctely
Refined count of subsystems within fig file (avoilds ports with same
name as system
check-in: 93b98c41cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:51:07
Updated obsolete path name. check-in: d8b11b1193 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2004-01-26
18:48:25
<cmath> must be explicitly included for mex (matlab compiler script) to recognise std::pow. check-in: f514d2ac65 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/sub_sh2tex from [d032780a77] to [6e3df96ad0].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
# Copyright (c) P.J.Gawthrop, 1997.

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



## Revision 1.7  1998/02/04 10:59:37  peterg
## Tidied up.
##
# Revision 1.6  1997/09/08  19:42:37  peterg
# Replaced copy by compcopy
#
## Revision 1.5  1997/08/15 11:20:13  peterg







>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  2000/12/27 16:04:08  peterg
## Initial revision
##
## Revision 1.7  1998/02/04 10:59:37  peterg
## Tidied up.
##
# Revision 1.6  1997/09/08  19:42:37  peterg
# Replaced copy by compcopy
#
## Revision 1.5  1997/08/15 11:20:13  peterg
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
  #Set up some names
  filename=$2
  figfile=$3_abg.fig
  lblfile=$1_lbl.txt
  summary='%SUMMARY'

  #Get the system description, copying where necesary
  mtt -q -u compcopy $system $MTTPATH/lib/comp/compound
  # mtt -q -u $system lbl txt
  desc=`grep $summary $lblfile | sed "s/$summary//"`

  #Count the number of subsystems
  subs=`grep -c $system $figfile`

  if [ "$labels" = "yes" ]; then







|







91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
  #Set up some names
  filename=$2
  figfile=$3_abg.fig
  lblfile=$1_lbl.txt
  summary='%SUMMARY'

  #Get the system description, copying where necesary
  mtt -q -u compcopy $system $MTT_LIB/comp/compound
  # mtt -q -u $system lbl txt
  desc=`grep $summary $lblfile | sed "s/$summary//"`

  #Count the number of subsystems
  subs=`grep -c $system $figfile`

  if [ "$labels" = "yes" ]; then


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