Index: mttroot/mtt/bin/trans/cbg2ese_m2r ================================================================== --- mttroot/mtt/bin/trans/cbg2ese_m2r +++ mttroot/mtt/bin/trans/cbg2ese_m2r @@ -14,10 +14,14 @@ ## Version control history ############################################################### ## $Id$ ## ## $Log$ +# Revision 1.7 1996/08/30 11:29:49 peter +# Added constitutive relationship to argument list. +# Put in explicit argument list to cbg2ese. +# # Revision 1.6 1996/08/26 13:25:07 peterg # Corrected error handling. # # Revision 1.5 1996/08/24 14:38:11 peter # Error handling included. @@ -51,36 +55,41 @@ #Inform user echo Creating $eqnfile echo Creating $1_def.r # Use matrix manipulation to accomplish the transformation -$MATRIX > cbg2ese_m2r.log 2>mtt_error.txt << EOF +$RMATRIX > cbg2ese_m2r.log 2>mtt_error.txt << EOF infofile = '$infofile';; system_name = '$1'; system_type = ''; system_cr = ''; system_args = ''; full_name = ''; +full_name_repetition = ''; deffile = '$1_def.r'; -%Structure matrix [states,nonstates,inputs,outputs,zero_outputs] +% Structure matrix [states,nonstates,inputs,outputs,zero_outputs] + structure = zeros(1,5); structure = cbg2ese(system_name, system_type, system_cr, ... - system_args, full_name , 1, structure, infofile); + system_args, full_name, full_name_repetition, ... + 1, structure, infofile); makedef(structure,deffile); EOF cat $infofile -cat $1_*ese.r - > $1_ese.r 2>> mtt_error.txt < $1_ese.tmp 2>> mtt_error.txt <