Overview
Comment: | The Octave load/save -ascii option is deprecated in favour of -text |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
091179f94f134a31b9c81e1ff60212b6 |
User & Date: | geraint@users.sourceforge.net on 2005-04-26 22:52:26 |
Other Links: | branch diff | manifest | tags |
Context
2005-04-26
| ||
23:43:35 | Reset open switches after update to eliminate overshoots. check-in: 166ac6ed30 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
22:52:26 | The Octave load/save -ascii option is deprecated in favour of -text check-in: 091179f94f user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:06:08 | Tidied check-in: 9969a44b61 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/abg2connections_m2dat from [a1f5100c16] to [123924ba9b].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 | - + | str = save_header_format_string; save_header_format_string = ["# Model Transformation Tools\t", ... " -*-octave-*-\n", ... "# Created by abg2connections_m\n", ... str]; |
Modified mttroot/mtt/bin/trans/cbg_m2dia from [dbd56a874e] to [ddc0cb4e01].
︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - + | ibg = ${sys}_ibg; cbg = ${name}_cbg; ## get connections data: ${sys}_connections ## structure with two cell arrays: head and tail ## the index of each array element is the bond index ## the value of each array element is a component name |
︙ |
Modified mttroot/mtt/bin/trans/mtt_make_sim from [0eacf885ca] to [39947db7aa].
︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + + + | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.8 2002/04/28 18:41:27 geraint ## Fixed [ 549658 ] awk should be gawk. ## Replaced calls to awk with call to gawk. ## ## Revision 1.7 2000/05/19 17:47:35 peterg ## Fixed bug in oct version but still needs proper check ## ## Revision 1.6 2000/05/17 17:20:49 peterg ## Fixed bugs with ny>1. Could be made faster by not generating y when ## y_sim >1 ## |
︙ | |||
111 112 113 114 115 116 117 | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | - + - + - + - + - + | S = [S;"Save\t"]; tim = time; ## Create the system input file t1 = [0:N_u-1]*dt; # Create time vector from zero (to fit u); ut = [t1' u']; |
︙ |
Modified mttroot/mtt/bin/trans/octave_ode2odes from [c8132b66e7] to [9934b36f54].
︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + + + | # Copyright (c) P.J.Gawthrop 1999 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.5 2002/05/07 10:13:48 gawthrop ## Files marked by update as out of sync ## ## Revision 1.4 2001/03/30 15:13:58 gawthrop ## Rationalised simulation modes to each return mtt_data ## ## Revision 1.3 2000/05/19 17:47:56 peterg ## Agument to state ## ## Revision 1.2 2000/05/11 13:43:14 peterg |
︙ | |||
35 36 37 38 39 40 41 | 38 39 40 41 42 43 44 45 46 47 48 | - + | x_0 = $1_state(par); simpar = $1_simpar mtt_data = $1_ode2odes(x_0,par,simpar); if is_complex(mtt_data) mtt_error("octave_ode2odes: Simulated data is complex - something is wrong!"); mtt_data = real(mtt_data); endif; |
Modified mttroot/mtt/bin/trans/ode2odess_m2dat2 from [4e1d5bd33f] to [13554ba921].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + + + | # Copyright (c) P.J.Gawthrop, 1996. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/10/17 12:55:29 peterg ## Initial revision ## ## Revision 1.4 2000/10/17 11:07:59 peterg ## *** empty log message *** ## ## Revision 1.3 1998/05/19 19:27:04 peterg ## Zapped all the parameter stuff ## ## Revision 1.2 1996/09/13 19:40:51 peter |
︙ | |||
88 89 90 91 92 93 94 | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | - + | for t=T' u = $1_input(x,zeros($Ny,1),t,par); x = fsolve('f',x); y = $1_odeo(x,u,t,par); mtt_write(t,x,y,$Nx,$Ny); # Write it out end; |