Index: mttroot/mtt/bin/trans/abg2cbg_m ================================================================== --- mttroot/mtt/bin/trans/abg2cbg_m +++ mttroot/mtt/bin/trans/abg2cbg_m @@ -9,12 +9,15 @@ # Acausal bond graph to causal bond graph: mfile format ############################################################### ## Version control history ############################################################### -## $Header$ +## $Id$ ## $Log$ +## Revision 1.1 1996/08/04 17:45:11 peter +## Initial revision +## ############################################################### # The causal BG is described by four matrices # (the same structure as the acausal BG except that Causality is 1 ot -1): # junctions: describes the junctions - @@ -83,14 +86,12 @@ $MATRIX >abg2cbg_m.log 2>>abg2cbg_m.log << EOF infofile= '$infofile'; %Convert from acausal to causal bond graph in m-file form. - [bonds,components] = $1_abg; system_name = '$1'; - - [cbonds,status] = abg2cbg(system_name,bonds,infofile); + [cbonds,status] = abg2cbg(system_name,infofile); %Write the function m-file for the causal bond graph filename = '$1_cbg.m'; c = '%';