Overview
Comment:Removed bug work round.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: ab90856182b6cc78b815d570b6a06ada12fc84269b22bdb3c8be1a294bcb320f
User & Date: gawthrop@users.sourceforge.net on 1996-08-19 15:38:31
Other Links: branch diff | manifest | tags
Context
1996-08-19
16:25:18
Fixed bug when Nx=0. check-in: 30ff02c088 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:38:31
Removed bug work round. check-in: ab90856182 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:34:29
Initial revision check-in: 5a5f4ee4ab user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2cbg_m from [c74eccbadb] to [f1e9e9e1ac].

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.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.
##







>
>
>







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.4  1996/08/16 14:28:45  peter
## Some debugging lines removed.
##
## 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.
##
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115

  infofile= '$infofile';

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

  % THIS IS A NASTY BUG WORKROUND FOR OCTAVE
  abg2cbg('RC','RC' ,'', [], infofile);
  
  port_bonds = [];
  [cbonds,status] = abg2cbg(system_name, '', '', port_bonds,infofile);

EOF

cat mtt_info.txt
cp $1_$1_cbg.m $1_cbg.m 













|








<
<
<



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112



113
114
115

  infofile= '$infofile';

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

  % THIS IS A NASTY BUG WORKROUND FOR OCTAVE
  % abg2cbg('RC','RC' ,'', [], infofile);
  
  port_bonds = [];
  [cbonds,status] = abg2cbg(system_name, '', '', port_bonds,infofile);

EOF

cat mtt_info.txt
cp $1_$1_cbg.m $1_cbg.m 







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