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.2 1996/08/05 11:25:00 peter
## Removed bonds argument from abg2cbg.
## Removed call to $1_abg.
##
## Revision 1.1 1996/08/04 17:45:11 peter
## Initial revision
##
|
>
>
>
|
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.3 1996/08/08 18:06:55 peter
## Unified naming scheme.
##
## Revision 1.2 1996/08/05 11:25:00 peter
## Removed bonds argument from abg2cbg.
## Removed call to $1_abg.
##
## Revision 1.1 1996/08/04 17:45:11 peter
## Initial revision
##
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
rm -f mtt_info.txt
#Inform user
echo Creating $1_cbg.m
# Use matrix manipulation to accomplish the transformation
$MATRIX >abg2cbg_m.log 2>>abg2cbg_m.log << 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
|
|
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
rm -f mtt_info.txt
#Inform user
echo Creating $1_cbg.m
# Use matrix manipulation to accomplish the transformation
$MATRIX >abg2cbg_m.log 2>>abg2cbg_m.log << 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
|