50 descendants of df6597840576768a
2002-05-27
| ||
14:48:34 |
Inclusion of sympar.h moved to top of file for consistency with other templates.
states and outputs prepended with an underscore to prevent conflicts when | |
13:19:09 | Added "#include <math.h>". check-in: 1d4f30f139 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
10:36:21 |
Fix for bug [553524] #define PI causes parse error. Only substitutes for PI if it is not a number. This prevents Reduce from trying to substitute for 3.14... when "on rounded" has been set. check-in: 5955810cef user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-26
| ||
17:28:27 | Tweaked figures again check-in: be0199de5d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-25
| ||
09:23:47 | Self-naming components: name is mttTYPE or mttTYPE_2 ... check-in: bb99b2427e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-24
| ||
16:19:42 | Builds Simulink .mdl as well as sys_sfun.mexglx. check-in: 26c6d89108 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
11:04:10 | Removed unnecessary message about *.log file not existing when -D option is used. check-in: 0ff1595929 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-23
| ||
17:27:06 | Made output of U and parameters consistent. check-in: e9bb3a6549 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:26:07 | Cosmetic tweaks to graphs check-in: 6964cc60f6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
17:08:21 |
`mtt sys sfun zip` now produces an input block and an interface block for MTT models. Models can be embedded within larger Simulink models by the 2 ports. The user must edit 2 code blocks in <sys>_sfun_interface.c before compiling with mex. check-in: 79e087b982 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-22
| ||
16:59:59 | Multiple ps files generated - view shows all check-in: ba51cc679b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:33:18 |
Nameless components are now named according to type - replaces old mtt1 etc style. check-in: edd8b3a6d9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:35:49 | Added insertor variable to stop sh-mode font-lock from getting hopelessly confused by embedded C++. check-in: 0d28f04970 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
09:15:03 | Non-repetitive components no longer use _1 in names check-in: adbb1b266e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
07:33:11 | New collocated P controller check-in: 143bdcdf29 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-21
| ||
18:50:11 | Customised figures. check-in: 65b5567de9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
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: 1766067043 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:47:41 | Implicit rules check-in: 22eb2b0db5 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: 88a007436a user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-20
| ||
13:42:31 | Uses simpar.first for first printed output check-in: ca5fd0b5c3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:32:36 | Sanity check on y_0 check-in: 0e631755ed user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:29:59 |
-oct now forces an m target language to be oct (if the rep is an the list: "ae input logic numpar simpar state") check-in: 60f1a7db52 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:09:28 | Added zip to suggested list - used by 'sfun.zip' target. check-in: c321679331 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:51:49 | Tidied generated code up a little bit. check-in: f7ba4f05fd user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:50:12 | Cleans _sfun_ae.mexglx. check-in: 3060ea13a9 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
08:10:11 | Now changes 10-1 to 9, not 09. etc. check-in: 08d9c5f480 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
07:41:03 | Take t (time) from mtt_data - works with non-zero simpar.first check-in: 3e1f6714be user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
07:12:05 | Trying to get oct files generated with -oct check-in: e8b1eaacb0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-19
| ||
13:01:22 |
Numerical solution of algebraic equations implemented for S-function target.
Equation solving requires the Matlab Optimization Toolbox to be installed. Code has been changed from C++ to C to allow mex files to be built with LCC, Parameters are now obtained from numpar.c instead of a dialogue box. `mtt <sys> sfun zip` creates all necessary files for building the model mex files. check-in: 97bf211b88 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-17
| ||
11:17:35 | No longer uses df() if corresponding sensitivity parameter is 0. check-in: 5a21db69e7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:15:38 | Messages about copying when using -dr now only appear in verbose (-v) mode. check-in: d41c582b2d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:14:58 | Optimises each line in a separate session. Allows larger models to be built. check-in: 029829cd3c user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-15
| ||
16:37:30 | Added third argument (file extension) check-in: 4d7fdc45fb user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:34:11 | Added Q to arg list of ppp_optimise (par ident) check-in: 7eaa6496b9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:32:35 | Now notices changes in numpar state input and simpar check-in: 117a204ebb user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
14:22:26 |
Code for Simulink S-function target written direct to sfun.cc instead of calling .mexglx files. This eliminates the sfun dependency on Octave ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine (can't test this yet). added sfun.zip target to create source code to export. check-in: d60ad9b171 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
11:01:24 | New PI controller component check-in: d2e6dc7890 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-14
| ||
20:19:06 | Fixed some memory leaks. check-in: 17f786bed8 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
15:43:41 | Complete rewrite check-in: 99eaa00ae6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-13
| ||
22:46:30 | Plant can now have multiple inputs. check-in: faa8358236 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
16:11:09 | Various changes check-in: 079339165e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:01:10 | Addes Q weighting matrix check-in: 8e162b30dc user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:52:23 |
FIRST parameter of simpar now specifies first printed point - simulation still starts at zero check-in: b97e3c9beb user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:16:32 | Now handles derivative causality when fixcc is set in _dae.r check-in: 723f46c1d7 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-11
| ||
01:14:17 |
Fix for [ 553218 ] simpar.oct and simpar.m different. Translation added between ColumnVector in base .cc and Octave_map in .oct. check-in: b6a47212b3 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
00:53:27 | reinstated dependency on libncurses5-dev - liboctinterp needs it. check-in: 0c34112393 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2002-05-10
| ||
15:50:53 |
Rates and outputs now update correctly. Debugging print statements removed. 'mtt rc sfun mexglx' creates a valid S-function "rc_sfun.mexglx" which runs correctly in Simulink. Algebraic solver code has not yet been added. Inertial switches still don't work. check-in: a9fd8a87b9 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
15:18:29 |
static mxArrays and void update_ functions replace mxArray* get_ functions. Rates still don't update, but simulation doesn't crash now. check-in: a6899b8f34 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
14:07:16 | Preserve .cc files. check-in: 4c3c5e361c user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:47:51 | *** empty log message *** check-in: eb604154d7 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
13:24:58 |
Added initial support for building Simulink S-functions. Rates do not update properly yet. Inertial switches do not work yet. Implicit integration not supported yet. build with: mtt -i euler MotorGenerator sfun mexglx. check-in: df65978405 user: geraint@users.sourceforge.net tags: origin/master, trunk | |