Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -13,10 +13,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.271 2000/10/03 12:14:25 peterg +## Version 4.8 +## ## Revision 1.270 2000/10/03 12:13:51 peterg ## Corrected MTT_LIB paths ## ## Revision 1.269 2000/09/30 14:12:03 peterg ## Fixed bug with no-parameter systems - changed mtt_txt2m and mtt_m2p @@ -1242,10 +1245,11 @@ rm -f *_odeso.dat *_odeso.gdat *_odeso.sdat *_odeso.m *_odeso.ps rm -f *_*.doc *_*.idx *_*.ind *_*.ilg *_*.dvi *_*.aux *_*.lof *_*.toc rm -f *_rep.tex rm -f *_unique_raw_list *_raw_list rm -f mtt_error.txt mtt_info.txt *_ode2odes.out + rm -f *_*_write.r rm -fR *_rep MTT_work exit fi # Clean up named system @@ -1266,10 +1270,11 @@ rm -f $1_odeso.dat $1_odeso.gdat $1_odeso.m $1_odeso.ps rm -f $1_*.doc $1_*.idx $1_*.ind $1_*.ilg $1_*.dvi $1_*.aux $1_*.lof $1_*.toc rm -f $1_rep.tex rm -f $1_unique_raw_list $1_raw_list rm -f mtt_error.txt mtt_info.txt $1_ode2odes.out + rm -f $1_*_write.r rm -fR $1_rep MTT_work exit fi if [ "$2" = "rep" ]; then @@ -1674,10 +1679,14 @@ echo Creating $1_$2.oct; mkoctfile $< ## .cc files %.cc: %.p mtt_p2cc $< + +# Generates code to write reduce code +$1_ode_write.r: $1_def.m + def2write_r $1 $2 ifeq ("$sensitivity","sensitivity") ifeq ("$level","0") $1_abg.fig: $sys_abg.fig abg2sensitivity_fig $sys @@ -2160,10 +2169,11 @@ mtt_r2m $optimise -parameters $1 scse; matlab_tidy $1_scse.m; matlab_tidy $1_scseo.m; $1_scse.tex: $1_scse.r $1_sympar.r $1_simp.r cse_r2tex $1 $2; latex_tidy $1_scse.tex + #SUMMARY ode ordinary differential equations (r) #SUMMARY ode* ordinary differential equations (m) #SUMMARY ode ordinary differential equations (c) #SUMMARY ode ordinary differential equations (tex) @@ -2725,11 +2735,11 @@ ifeq ($REPTYPE,tex) #Create html version of dvi file $1_$2.html: $1_$2.dvi $1_$2.doc echo Creating $1_$2/$1_$2.html - $LATEX2HTML $1_$2.doc + $LATEX2HTML $1_$2.doc>latex2html.log 2>latex2html.log endif #Default view ifeq ($REPTYPE,bg) $1_$2.view : $Subsystem_$2.pview