Overview
Comment:Cahged $MATRIX to $RMATRIX
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e2c406bf9dcc0969f43a0248be8719e7fc324d7d098f14eb5462eba1ae6de5f3
User & Date: gawthrop@users.sourceforge.net on 1996-11-06 15:49:33
Other Links: branch diff | manifest | tags
Context
1996-11-06
15:58:46
Changed Matrix to RMATRIX check-in: f06c85f481 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:49:33
Cahged $MATRIX to $RMATRIX check-in: e2c406bf9d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-11-05
09:19:28
Initial revision check-in: 682c998490 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2cbg_m from [790e44cfb6] to [d9e73ea7a6].

9
10
11
12
13
14
15



16
17
18
19
20
21
22
# Acausal bond graph to causal bond graph: mfile format

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



## Revision 1.7  1996/08/25 09:22:55  peter
## # Print errors, if any.
## mtt_error error.txt
##
## Revision 1.6  1996/08/24 14:36:01  peter
## Error handling included.
##







>
>
>







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Acausal bond graph to causal bond graph: mfile format

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
# Revision 1.8  1996/08/25  09:31:49  peter
# More error handling.
#
## Revision 1.7  1996/08/25 09:22:55  peter
## # Print errors, if any.
## mtt_error error.txt
##
## Revision 1.6  1996/08/24 14:36:01  peter
## Error handling included.
##
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
rm -f mtt_info.txt


#Inform user
echo Creating $1_cbg.m

# Use matrix manipulation to accomplish the transformation
$MATRIX  >abg2cbg_m.log  2>mtt_error.txt << EOF

  infofile= '$infofile';

  %Convert from acausal to causal bond graph in m-file form.
  system_name = '$1';

  % THIS IS A NASTY BUG WORKROUND FOR OCTAVE







|







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
rm -f mtt_info.txt


#Inform user
echo Creating $1_cbg.m

# Use matrix manipulation to accomplish the transformation
$RMATRIX  >abg2cbg_m.log  2>mtt_error.txt << EOF

  infofile= '$infofile';

  %Convert from acausal to causal bond graph in m-file form.
  system_name = '$1';

  % THIS IS A NASTY BUG WORKROUND FOR OCTAVE


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