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.18 2000/09/15 08:09:42 peterg +## Removed another debugging line +## ## Revision 1.17 2000/09/15 08:06:17 peterg ## Removed debug lines ## ## Revision 1.16 2000/09/02 15:55:51 peterg ## *** empty log message *** @@ -97,10 +100,11 @@ rm -f cbg2ese_m.log # Remove the info and error files rm -f mtt_info.txt rm -f mtt_error.txt +rm -f mtt_aliased.txt # Remove relevent ese files rm -f $1_ese.r $1_*_ese.r #Inform user @@ -122,11 +126,10 @@ 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 @@ -204,13 +207,16 @@ fi echo "END;" >> $1_ese.r echo "END;" >> $1_def.r +# Create the _alised file +echo Creating $1_aliased.txt +mv mtt_aliased.txt $1_aliased.txt # Sort the struc file mv $structurefile junk sort -k 1,1 -k 2,2n junk >$structurefile # Now invoke the standard error handling. mtt_error mtt_error.txt