Overview
Comment:Zap lines containing "Remove in mtt_m2p"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 8b9e2ca1acede86929558e1d1706251267a5cd3171f7216107edfdf82425bf6c
User & Date: gawthrop@users.sourceforge.net on 2000-09-30 14:10:06
Other Links: branch diff | manifest | tags
Context
2000-09-30
14:12:03
Fixed bug with no-parameter systems - changed mtt_txt2m and mtt_m2p check-in: 7862b740b8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:10:06
Zap lines containing "Remove in mtt_m2p" check-in: 8b9e2ca1ac user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:53:07
Default to empty matix in numpar.m -- avoids probs for parameter-free systems check-in: 6a4ba97565 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_m2p from [5598068649] to [105f017dde].

11
12
13
14
15
16
17



18
19
20
21
22
23
24
# Copyright (c) P.J.Gawthrop 1998

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



## Revision 1.52  2000/08/24 08:30:45  peterg
## *** empty log message ***
##
## Revision 1.51  2000/08/01 12:25:24  peterg
## Some changes to include files
##
## Revision 1.50  2000/05/19 17:46:41  peterg







>
>
>







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

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.53  2000/08/24 17:10:59  peterg
## New dummy variables mtt_o (for optimisation), mtt_s (for segmentation)
##
## Revision 1.52  2000/08/24 08:30:45  peterg
## *** empty log message ***
##
## Revision 1.51  2000/08/01 12:25:24  peterg
## Some changes to include files
##
## Revision 1.50  2000/05/19 17:46:41  peterg
354
355
356
357
358
359
360

361
362
363
364
365
366
367
  space="[ $tab]*"
  spaces="[ $tab][ $tab]*"
  non_space="[^ ]*"
  args='[a-zA-Z0-9,._"]*'

# Body	
cat $Sys_rep.m |\

grep -v '^[ ]*function'  |\
grep -v '^[ ]*endfunction'  |\
grep -v 'MTT_data'  |\
sed "s/^$space%/#/" | sed "s/\([;)]$space\)%/\1#/" |\
awk -F# '{printf("%s",$1) 
          if (NF>1) printf("{* %s *}", $2)
          printf("\n") 







>







357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
  space="[ $tab]*"
  spaces="[ $tab][ $tab]*"
  non_space="[^ ]*"
  args='[a-zA-Z0-9,._"]*'

# Body	
cat $Sys_rep.m |\
grep -v 'Remove in mtt_m2p'  |\
grep -v '^[ ]*function'  |\
grep -v '^[ ]*endfunction'  |\
grep -v 'MTT_data'  |\
sed "s/^$space%/#/" | sed "s/\([;)]$space\)%/\1#/" |\
awk -F# '{printf("%s",$1) 
          if (NF>1) printf("{* %s *}", $2)
          printf("\n") 


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