Index: mttroot/mtt/bin/trans/m/abg2cbg.m ================================================================== --- mttroot/mtt/bin/trans/m/abg2cbg.m +++ mttroot/mtt/bin/trans/m/abg2cbg.m @@ -18,10 +18,13 @@ ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ + ## ## Revision 1.50 2003/03/13 15:18:39 gawthrop + ## ## Now uses __ to delimit subsystems in names. + ## ## ## ## Revision 1.49 2001/07/26 05:02:53 geraint ## ## Now writes cbg.fig when under-causal (again). ## ## ## ## Revision 1.48 2001/07/23 23:20:27 gawthrop ## ## Now only writes to type.sh and cbg.m when causality is completed. @@ -291,11 +294,11 @@ ## Coerce the port (SS:[]) component bonds to have the same direction as ## of the bonds in the encapsulating system -- but not at top level - Flipped.ports="";Flipped.subs="";Flipped.cons=""; + Flipped.ports="";Flipped.subs="";Flipped.cons=[]; if (n_ports>0)&&(!at_top_level) # Coerce directions for i=1:n_ports name = deblank(ABG.portlist(i,:)); # Name of this port eval(["port = ABG.ports.",name,";"]); # Extract port info