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.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. ## ## ## ## Revision 1.47 2000/03/20 16:45:26 peterg ## ## *** empty log message *** @@ -194,14 +197,17 @@ ## ## ## ## Revision 1.1 1996/08/04 17:55:55 peter ## ## Initial revision ## ## ## ############################################################### + mtt_info(sprintf("Completing causality for subsystem %s", system_name), infofile); pc = '%'; + sub_delim = "__"; # Subsystem delimiter + if nargin<1 system_name = 'no_name'; end; if nargin<4 @@ -226,11 +232,11 @@ ## Create the (full) system name if at_top_level full_name = system_name; system_type = system_name; else - full_name = [full_name, "_", system_name]; + full_name = [full_name, sub_delim, system_name]; end; fun_name = [system_type, "_abg"]; disp("===================================="); Index: mttroot/mtt/bin/trans/m/cbg2ese.m ================================================================== --- mttroot/mtt/bin/trans/m/cbg2ese.m +++ mttroot/mtt/bin/trans/m/cbg2ese.m @@ -21,10 +21,13 @@ ## ############################################################### ## ## Version control history ## ############################################################### ## ## $Id$ ## ## $Log$ + ## ## Revision 1.48 2003/03/13 15:10:26 gawthrop + ## ## Removed redundant final column + ## ## ## ## Revision 1.47 2003/02/28 09:12:17 gawthrop ## ## Two more columns in _stuc.txt: causality and subsystem name ## ## ## ## Revision 1.46 2002/08/20 15:51:17 gawthrop ## ## Update to work with ident DIY rep @@ -183,10 +186,11 @@ ## system_name, system_type, full_name, repetition pc = "%"; sub_delim = "__"; # Subsystem delimiter + unit_error = "Component %s connects inconsistent ports with units %s and %s" unit_info = "Component %s connects ports with units %s and %s" ## Set up the names corresponding to the structure matrix. structure_name = [