Index: mttroot/mtt/bin/trans/cbg2ese_m2r
==================================================================
--- mttroot/mtt/bin/trans/cbg2ese_m2r
+++ mttroot/mtt/bin/trans/cbg2ese_m2r
@@ -14,10 +14,13 @@
 ## Version control history
 ###############################################################
 ## $Id$
 ##
 ## $Log$
+## Revision 1.21  2000/10/16 08:40:35  peterg
+## Whoops! Must touch mtt_aliased
+##
 ## Revision 1.20  2000/10/16 08:36:31  peterg
 ## Creat empty _aliased file if it doesn't exist
 ##
 ## Revision 1.19  2000/10/12 19:25:39  peterg
 ## Now generateds the _aliased.txt file
@@ -119,23 +122,23 @@
 echo Creating $structurefile
 
 # Use matrix manipulation to accomplish the transformation
 $MATRIX << EOF > cbg2ese_m2r.log 2>mtt_error.txt
 
-infofile = '$infofile';;
-infofilenum = fopen(infofile,'w');
-structurefile = '$structurefile';;
-structurefilenum = fopen(structurefile,'w');
-deffile = '$1_def.r';
-deffilenum = fopen(deffile,'w');
-
-system_name = '$1';
-system_type = '';
-system_cr = '';
-system_args = '';
-full_name = '';
-full_name_repetition = '';
+infofile = "$infofile";;
+infofilenum = fopen(infofile,"w");
+structurefile = "$structurefile";;
+structurefilenum = fopen(structurefile,"w");
+deffile = "$1_def.r";
+deffilenum = fopen(deffile,"w");
+
+system_name = "$1";
+system_type = "";
+system_cr = "";
+system_args = "";
+full_name = "";
+full_name_repetition = "";
 
 % Structure matrix [states,nonstates,inputs,outputs,zero_outputs]
 
 structure = zeros(1,7);  # Initialise structure vector
 
@@ -142,11 +145,10 @@
 structure = cbg2ese(system_name, system_type, system_cr, ...
                      system_args, full_name, full_name_repetition, ...
                      1, structure, structurefilenum, infofilenum);
 makedef(structure,deffilenum);
 EOF
-
 
 if [ "$info" = "info" ]; then
   cat $infofile
 fi