Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.417 2008/07/22 17:37:01 geraint +## Fixed case of MTT_EXAMPLES +## ## Revision 1.416 2006/09/27 13:03:20 geraint ## Fixed fr.view and enabled commands to directly build ??fr.m ## ## Revision 1.415 2006/02/09 23:58:24 geraint ## rtxi: builds but does not yet work. @@ -1727,10 +1730,13 @@ read_dirs="${read_dirs} ${read_dir}" else echo "${read_dir} does not exist - ignoring" fi ;; + -nas ) no_alpha_sort="no_alpha_sort"; + mtt_switches="$mtt_switches $1"; + ;; -viewlevel ) mtt_switches="$mtt_switches $1 $2"; viewlevel=$2; shift;; --version) echo 'MTT version' $version; exit;; @@ -1805,10 +1811,11 @@ -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 + -nas no alphabetic sort (of components) -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) @@ -2990,11 +2997,11 @@ endif #SUMMARY rbg raw bond graph (m) #Raw bond graph: fig file to mfile $1_rbg.m: $1_abg.fig $1_lbl.txt - rbg_fig2m $1 + rbg_fig2m $1 $no_alpha_sort $1_cmp.m: $1_lbl.txt $1_cmp.txt lbl2cmp_txt2m.pl --sys=$1 --$debug $1_fig.fig: $1_rbg.m