Overview
Comment: | New script for making simulation m file _sim.m |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f0fe3c35f3ff5de11b559867e9b94349 |
User & Date: | gawthrop@users.sourceforge.net on 2001-06-11 19:46:17 |
Other Links: | branch diff | manifest | tags |
Context
2001-06-11
| ||
19:47:49 |
Makes the sub.sh file directly from the abg.fig file Used for making lbl files (abg2lbl_fig2txt) check-in: 73cbdc1a72 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
19:46:17 | New script for making simulation m file _sim.m check-in: f0fe3c35f3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
19:43:50 |
MTT is now much more sophisticated in generating lbl files Labels can contain maths Repetative components are now broken check-in: d1d56ab81c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/make_sim version [2bb203ef7d].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh ## Makes the sensitivity simulation ## Copyright (C) 2001 by Peter J. Gawthrop sys=$1 lang=$2 outfile=${sys}_sim.${lang} echo Creating $outfile make_m() { mtt_header ${sys} sim m > ${outfile} cat >> ${outfile} <<EOF ## Pass input as a global global MTT_input MTT_input_index MTT_input_last [nx,ny] = ${sys}_def; y_par = []; MTT_input = u; [MTT_input_last,m] = size(u); MTT_input_index = 0; [mtt_data] = ${sys}_ode2odes(x0,par,simpar); y = mtt_data(:,2:1+ny); x = mtt_data(:,3+ny:2+ny+nx); ypar = []; endfunction EOF } case ${lang} in m) make_m ;; *) echo Language ${lang} not supported - sorry esac |