Overview
Comment: | Implicit rules |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9bdd1aa5cf665c37f1517cff463a1f34 |
User & Date: | gawthrop@users.sourceforge.net on 2002-05-21 08:47:41 |
Other Links: | branch diff | manifest | tags |
Context
2002-05-21
| ||
11:46:31 |
MTT input block "sys_sfun_input.mexglx" created to provide inputs from MTT input file to plant model within Simulink. The command "mtt sys sfun zip" now also creates a simple sys.mdl file which connects the input block to the plant block correctly. check-in: f281078eb6 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:47:41 | Implicit rules check-in: 9bdd1aa5cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:45:36 |
DIY reps: no longer skips rep if file exists already. Avoids problems in rep.txt when options change check-in: 1ca84ea61b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/rep/nppp_rep.make from [a45ca90fbc] to [93cfab61d5].
1 2 3 4 5 6 | 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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | + - - - + + + + - - - + + + + + + + + + + + + + + + + - + - + - - - - + - - - - - - - - + + - - - + - - - - - - - + + - - + + + - - - - + + - - + - - - - - + - - - - - - - - - + + + + + + + | # -*-makefile-*- # Makefile for representation nppp # File nppp_rep.make #Copyright (C) 2000,2001,2002 by Peter J. Gawthrop ## Model targets |
Modified mttroot/mtt/lib/rep/nppp_rep.sh from [19f90f4533] to [43681cce8e].
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 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 42 43 44 45 46 47 | + - - - - + + + + - - - - + + + - - - + + - | ## Some names target=${sys}_${rep}.${lang} def_file=${sys}_def.r dat2_file=${sys}_nppp.dat2 dat2s_file=${sys}_nppps.dat2 nppp_numpar_file=${sys}_nppp_numpar.m option_file=${sys}_nppp_mtt_options.txt ## Get system information if [ -f "${def_file}" ]; then echo Using ${def_file} else mtt -q ${sys} def r fi ny=`mtt_getsize $1 y` nu=`mtt_getsize $1 u` |
︙ | |||
89 90 91 92 93 94 95 | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + | printf("Open-loop interval %3.2f \n", simpar.last); printf(" -- using info in ${sys}_simpar.txt\n"); printf("PPP optimisation from %3.2f to %3.2f\n", simpars.first, simpars.last); printf(" -- using info in s${sys}_simpar.txt\n"); endif t_horizon = [simpars.first+simpars.dt:simpars.dt:simpars.last]'; |
︙ | |||
155 156 157 158 159 160 161 | 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | - + - + | j=[]; for i = 1:length(T_open) j = [j; find(T_open(i)*ones(size(t))==t)]; endfor y_open = y(j,:); u_open = u(j,:); |
︙ | |||
227 228 229 230 231 232 233 | 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | extras.verbose = 0; extras.visual = 0; endfunction EOF } |
︙ | |||
306 307 308 309 310 311 312 | 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | - + + - + | gdat2fig ${sys}_${rep} ;; ps) fig2dev -Leps ${sys}_${rep}.fig > ${sys}_${rep}.ps ;; view) |