Overview
| Comment: | Removed `touch mtt_info.txt' |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c4d8ee5f6c828059b4d90983229249d6 |
| User & Date: | gawthrop@users.sourceforge.net on 1996-08-24 17:57:41.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
1996-08-24
| ||
| 18:00:33 | Fixed bug with finding ports. check-in: 328344eb50 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 17:57:41 | Removed `touch mtt_info.txt' check-in: c4d8ee5f6c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 16:30:12 | Fixed error in nonport_regexp. check-in: d30f540f11 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/rbg2abg_m
from [00d3c2324e]
to [9b1306de36].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: rbg2abg_m
#
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2 1996/08/24 14:33:07 peter
## Error handling included.
##
## Revision 1.1 1996/08/05 12:22:16 peter
## Initial revision
##
###############################################################
| > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#! /bin/sh
######################################
##### Model Transformation Tools #####
######################################
# Bourne shell script: rbg2abg_m
#
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.3 1996/08/24 14:58:56 peter
## Fixed missprint - mtt_err --> mtt_error
##
## Revision 1.2 1996/08/24 14:33:07 peter
## Error handling included.
##
## Revision 1.1 1996/08/05 12:22:16 peter
## Initial revision
##
###############################################################
|
| ︙ | ︙ | |||
85 86 87 88 89 90 91 |
fprintf(filename, '%s [bonds,components] = $1_abg\n', c);
fprintf(filename, '%s Acausal bond graph created by MTT on %s\n\n', ...
c, date);
mat2mfile(bonds, 'bonds', filename);
mat2mfile(components, 'components', filename);
fprintf(filename, 'n_ports = %1.0f;\n', n_ports);
| < < | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
fprintf(filename, '%s [bonds,components] = $1_abg\n', c);
fprintf(filename, '%s Acausal bond graph created by MTT on %s\n\n', ...
c, date);
mat2mfile(bonds, 'bonds', filename);
mat2mfile(components, 'components', filename);
fprintf(filename, 'n_ports = %1.0f;\n', n_ports);
EOF
cat mtt_info.txt
# Test for errors and print if any
err_length=$(wc -c <mtt_error)
if [ $err_length != "0" ]
then
echo MTT has failed with the following errors '...'
|
| ︙ | ︙ |