Overview
Comment: | Octave 2.1.x compatability. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f53801a5957a1f182daccfb8102ecc95 |
User & Date: | geraint@users.sourceforge.net on 2001-02-05 08:50:58 |
Other Links: | branch diff | manifest | tags |
Context
2001-02-05
| ||
12:57:13 | Removed unnecessary files. check-in: 0f05f75f0f user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:50:58 | Octave 2.1.x compatability. check-in: f53801a595 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:32:31 | typo check-in: bb0ed37feb user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_header from [690440172a] to [7675745543].
︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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 | + + + + + + + + + + + + + | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.28 2001/01/17 21:16:15 geraint ## uncomment parameter assignments in .m reps ## ## Revision 1.27 2001/01/14 23:51:26 geraint ## declare parameters as variables instead of constants ## ## Revision 1.26 2001/01/07 21:22:47 geraint ## Compatibility with Octave 2.1.x ## vector_value ---> column_vector_value ## ## Revision 1.25 2000/12/05 12:05:26 peterg ## Changed to () form ## ## Revision 1.24 2000/12/05 10:04:52 peterg ## Fixed dummy variable bug ## ## Revision 1.23 2000/12/05 09:47:50 peterg ## Include crs as c files ## ## Revision 1.22 2000/12/04 12:19:12 peterg |
︙ | |||
106 107 108 109 110 111 112 113 114 115 116 117 118 119 | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | + + + + + + + + + | # Find system constants Nx=`mtt_getsize $system x` # States Nxx=`mtt_getsize $system xx` # States x States Nu=`mtt_getsize $system u` # Inputs Ny=`mtt_getsize $system y` # Outputs Nyz=`mtt_getsize $system yz` # Zero outputs ##Npar=`wc -l $system\_sympar.txt | awk '{print $1}'` # get octave version octave_development=`octave --version | awk '{print $4}' | awk -F\. '{print $2}'` if [ $octave_development ]; then vector_value=column_vector_value else vector_value=vector_value fi # Representation-specific stuff eqnargs='mttx,mttu,mttt,mttpar' inputeqnargs='mttx,mtty,mttt,mttpar' case $rep in cse) |
︙ | |||
247 248 249 250 251 252 253 | 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | - + | Lb='('; Rb=')'; function="function" declaration="$Output$1_$rep$Args;" noglobals=true; # Fudge to make mtt_m2p work start='## BEGIN Code' finish='## END Code' |
︙ | |||
376 377 378 379 380 381 382 | 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 | - + | { # Parameters if [ "$parameters" = "yes" ]; then cat <<EOF $Lc Parameters $Rc EOF |
︙ | |||
574 575 576 577 578 579 580 | 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 | - + | w=`get_field ${s} ${i}` # argument name get_arg_specific_stuff ${w} case ${arg_type} in "const double") printf " ${arg_type}\t${w}\t= args(${j}).double_value ();\n" ;; ColumnVector | Matrix | *) |
︙ |