Overview
Comment: | Added -I switch |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8d6db24c7d490d265d75ede4314ff7e4 |
User & Date: | gawthrop@users.sourceforge.net on 1998-07-08 11:21:32 |
Other Links: | branch diff | manifest | tags |
Context
1998-07-08
| ||
11:30:45 | Removed second (fileID) argument from mtt_info check-in: ba1b9016e5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:21:32 | Added -I switch check-in: 8d6db24c7d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:23:42 | Undid the previous change -- needs more thought. check-in: 607fcfb5ae user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/mtt from [c2d9ef90ba] to [c8a18e6920].
︙ | ︙ | |||
10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.159 1998/07/04 11:37:43 peterg ## Aliases implemented for parameters + lots of associated goodies ## New-style lbl files - no more SS nonsense. ## ## Revision 1.158 1998/07/03 09:06:39 peterg ## Alias implemented for ports ## | > > > | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996. ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.160 1998/07/04 11:38:51 peterg ## Version 3.0-- (Seascale) ## ## Revision 1.159 1998/07/04 11:37:43 peterg ## Aliases implemented for parameters + lots of associated goodies ## New-style lbl files - no more SS nonsense. ## ## Revision 1.158 1998/07/03 09:06:39 peterg ## Alias implemented for ports ## |
︙ | ︙ | |||
573 574 575 576 577 578 579 580 581 582 583 584 585 586 | print=''; # By default, make it tidy tidy=tidy; # Default not verbose verbose=' -s' #Initialise list mtt_switches=''; #Look for a command line argument while [ -n "`echo $1 | grep '^-'`" ]; do | > > > | 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 | print=''; # By default, make it tidy tidy=tidy; # Default not verbose verbose=' -s' # Default no info info_switch='' #Initialise list mtt_switches=''; #Look for a command line argument while [ -n "`echo $1 | grep '^-'`" ]; do |
︙ | ︙ | |||
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | -S ) directory=$2; shift;; -D ) mtt_switches="$mtt_switches $1"; debug=debug ;; -v ) mtt_switches="$mtt_switches $1"; verbose=' -w ' ;; -t ) tidy=tidy ;; -T ) tidy=tidy; verytidy=verytidy ;; -u ) tidy=untidy ;; | > > > > | 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 | -S ) directory=$2; shift;; -D ) mtt_switches="$mtt_switches $1"; debug=debug ;; -v ) mtt_switches="$mtt_switches $1"; info_switch='-I'; verbose=' -w ' ;; -I ) mtt_switches="$mtt_switches $1"; info_switch='-I' ;; -t ) tidy=tidy ;; -T ) tidy=tidy; verytidy=verytidy ;; -u ) tidy=untidy ;; |
︙ | ︙ | |||
671 672 673 674 675 676 677 678 679 680 681 682 683 684 | echo ' mtt copy <system_name> <path_name>' echo ' mtt rename <old_name> <new_name>' echo ' mtt <system_name> <representation> vc' echo ' mtt <system_name> <representation> <language>' echo ' mtt <system_name> <representation> <language> <parameters>' echo 'Options: -q quiet mode -- suppress MTT banner' echo ' -v verbose mode' echo ' -p print environment variables' echo ' -c c-code generation' echo ' -o ode and dae are the same' echo ' -s use switch (ISW and CSW) components' echo ' -d <dir> use directory <dir>' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' | > | 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 | echo ' mtt copy <system_name> <path_name>' echo ' mtt rename <old_name> <new_name>' echo ' mtt <system_name> <representation> vc' echo ' mtt <system_name> <representation> <language>' echo ' mtt <system_name> <representation> <language> <parameters>' echo 'Options: -q quiet mode -- suppress MTT banner' echo ' -v verbose mode' echo ' -I prints more information' echo ' -p print environment variables' echo ' -c c-code generation' echo ' -o ode and dae are the same' echo ' -s use switch (ISW and CSW) components' echo ' -d <dir> use directory <dir>' echo ' -t tidy mode (default)' echo ' -u untidy mode (leaves files in current dir)' |
︙ | ︙ | |||
1424 1425 1426 1427 1428 1429 1430 | sub_sh2tex -l $1 endif #SUMMARY abg acausal bond graph (m) #Raw bond graph to acausal bond graph: mfile $1_abg.m: $1_rbg.m $1_alias.m $1_sub.sh sh $1_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m' | | | 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 | sub_sh2tex -l $1 endif #SUMMARY abg acausal bond graph (m) #Raw bond graph to acausal bond graph: mfile $1_abg.m: $1_rbg.m $1_alias.m $1_sub.sh sh $1_sub.sh "mtt $mtt_switches -q -u -l $level+1 " ' abg m' rbg2abg_m $info_switch $1 #SUMMARY cbg causal bond graph (m) #Acausal bond graph to causal bond graph: mfile $1_cbg.m: $1_abg.m abg2cbg_m $1 |
︙ | ︙ | |||
1447 1448 1449 1450 1451 1452 1453 | #SUMMARY def definitions - system orders etc. (r) #SUMMARY def definitions - system orders etc. (m) #SUMMARY struc structure - list of inputs, outputs and states (txt) #SUMMARY struc structure - list of inputs, outputs and states (tex) #SUMMARY struc structure - list of inputs, outputs and states (view) #Elementary system equations + definitions $1_ese.r: $1_cbg.m | | | 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 | #SUMMARY def definitions - system orders etc. (r) #SUMMARY def definitions - system orders etc. (m) #SUMMARY struc structure - list of inputs, outputs and states (txt) #SUMMARY struc structure - list of inputs, outputs and states (tex) #SUMMARY struc structure - list of inputs, outputs and states (view) #Elementary system equations + definitions $1_ese.r: $1_cbg.m cbg2ese_m2r $info_switch $1; ese_tidy $1 $1_def.r: $1_ese.r touch $1_def.r $1_struc.txt: $1_ese.r touch $1_struc.txt $1_struc.tex: $1_struc.txt struc_txt2tex $1 $1_struc.m: $1_struc.txt |
︙ | ︙ |