Index: mttroot/mtt/bin/trans/rbg2abg_m ================================================================== --- mttroot/mtt/bin/trans/rbg2abg_m +++ mttroot/mtt/bin/trans/rbg2abg_m @@ -9,10 +9,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.21 2004/09/12 22:27:27 geraint +## Appended 't' to fopen mode string to open in text mode. +## ## Revision 1.20 2004/02/19 12:05:49 gawthrop ## Fix prob. when no bonds ## ## Revision 1.19 2002/04/28 18:55:03 geraint ## Fixed [ 549658 ] awk should be gawk. @@ -161,11 +164,11 @@ [n_bonds,m_bonds] = size(rbonds); if n_bonds>0 rbonds = rbonds(:,1:6); # Strip the directional information endif - [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,port_coord,port_name,\ + [bonds,components,n_vector_bonds] = rbg2abg(name,rbonds,rstrokes,rcomponents,port_coord,port_name, ... infofile,errorfile); %Write the function m-file for the causal bond graph write_abg(name,bonds,components,n_vector_bonds); EOF