Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.405 2005/01/06 12:47:53 geraint +## Fixed generation of sese.r with -make-sort option. +## ## Revision 1.404 2004/09/10 21:05:15 geraint ## Ensure that the system exists before proceeding. ## This should stop me from copying my home directory to MTT_work. ## ## Revision 1.403 2004/09/07 20:38:44 geraint @@ -1738,63 +1741,73 @@ exit fi if [ -z "$1" ]; then if [ -z "$print" ]; then - echo 'Usage: mtt help -- mtt on-line help' - echo ' mtt find component -- find location of a compound component' - echo ' mtt info -- info-based manual' - echo ' mtt info topic' - echo ' mtt hinfo -- hypertext manual' - echo ' mtt manual -- pdf manual' - echo ' mtt warranty' - echo ' mtt clean -- cleans up intermediate files' - echo ' mtt rclean -- recursively cleans up intermediate files' - echo ' mtt Clean -- cleans up all generated files' - echo ' mtt clean' - echo ' mtt copy ' - echo ' mtt rename ' - echo ' mtt vc' - echo ' mtt ' - echo ' mtt ' - echo 'Options: -q quiet mode -- suppress MTT banner' - echo ' -A solve algebraic equations symbolically' - echo ' -D debug -- leave log files etc' - echo ' -I prints more information' - echo ' -abg start at abg.m representation' - echo ' -c c-code generation' - echo ' -cc C++ code generation' - echo ' -cr Use cr before resolving equations' - echo ' -d use directory ' - echo ' -dr use files contained in ' - echo ' -dc Maximise derivative (not integral) causality' - echo ' -i Use implicit, euler, rk4 or dassl integration' - echo ' -ae Solve algebraic equations with specified solver' - echo ' -o ode is same as dae' - echo ' -oct use oct files in place of m files where appropriate' - echo ' -opt optimise code generation (equivalent to -optl)' - echo ' -optl optimise code generation (local : line-by-line)' - echo ' -optg optimise code generation (global : full vector) (EXPERIMENTAL)' - echo ' -no-reduce try not to use symbolic algebra (EXPERIMENTAL)' - echo ' -ntmpvar declare N temporary variables (default=$num_tmp_var)' - echo ' -p print environment variables' - echo ' -partition partition hierachical system' - echo ' -pdf generate pdf in place of ps' - echo ' -r reset time stamp on representation' - echo ' -s generate sensitivity BG (use mtt -s sSys rep lang)' - echo ' -make-sort use sorted equations (sese, generated by make) (EXPERIMENTAL)' - echo ' -sort use sorted equations (sese, generated by seqn) and Euler integration (EXPERIMENTAL)' - echo ' -ss use steady-state info to initialise simulations' - echo ' -stdin read input data from standard input for simulations' - echo ' -sub operate on this subsystem' - echo ' -t tidy mode (default)' - echo ' -trace Just indicate what mtt will do - but do not do it' - echo ' -u untidy mode (leaves files in current dir)' - echo ' -v verbose mode (multiple uses of -v increase the verbosity level)' - echo ' -viewlevel View N levels of hierachy' - echo ' --version print version and exit' - echo ' --versions print version of mtt and components and exit' + cat < clean + mtt copy + mtt rename + mtt vc + mtt + mtt + +Options: + -A solve algebraic equations symbolically + -abg start at abg.m representation + -ae algebraic equation solver: reduce|hybrd|dassl|hooke + -cc C++ code generation + -cr use cr before resolving equations + -D debug -- leave log files etc + -d use directory + -dc maximise derivative (not integral) causality + -dr use files contained in + -I prints more information + -i integration method: implicit|euler|rk4|dassl + -o ode is same as dae + -oct use oct files in place of m files where appropriate + -opt optimise code generation (equivalent to -optl) + -optl locally optimise code generation (line-by-line) + -ntmpvar declare temporary variables (default=$num_tmp_var) + -p print environment variables + -partition partition hierachical system + -pdf generate pdf in place of ps + -q quiet mode -- suppress MTT banner + -r reset time stamp on representation + -s generate sensitivity BG (use mtt -s sSys rep lang) + -ss use steady-state info to initialise simulations + -stdin read input data from standard input for simulations + -sub operate on subsystem + -t tidy mode (default) + -trace just indicate what mtt will do - but do not do it + -u untidy mode (leaves files in current dir) + -v verbose mode (multiple uses increment the verbosity) + --version print version and exit + --versions print version of mtt and components and exit + -viewlevel view levels of hierachy + +Experimental options: + -optg globally optimise code generation (full vector) + -make-sort use sorted equations (sese, generated by make) + -no-reduce try not to use symbolic algebra + -sort use sorted equations (sese, generated by seqn) + +Deprecated options: + -c c-code generation + +EOF exit fi fi