History of file mttroot/mtt/bin/trans/mtt_header at check-in 366260fa27cb8412

2021-03-01
11:39
Deleted: Cleanup repository after cvs2git conversion. check-in: [af3953deae] user: jeff@gridfinity.com, branch: master, size: 0
2014-07-13
13:53
Fixed some problems with generation of C++ code.

Representations such as ode now appear to have multiple outputs (mttdx,mtty) listed in mtt_header, so the write_cc_header parses the string and only returns the first one.

Vector sizes mttnu, mttnx, etc. now appear in the code of sys_ode.m etc., so they are declared as static int in sys_def.h.

The following now works properly on Ubuntu 12: mtt -cc -i euler -o rc gnuplot view file: [342dc555fd] check-in: [8e2a1aea1b] user: geraint@users.sourceforge.net, branch: origin/master, size: 25250 [annotate] [blame] [check-ins using] [diff]

2005-11-16
00:43
rtxi file: [af77a75d17] check-in: [aca770446b] user: geraint@users.sourceforge.net, branch: origin/master, size: 24648 [annotate] [blame] [check-ins using] [diff]
2005-02-17
18:54
Fixed a bash-sim: replaced let with $(( )) file: [2b6f388347] check-in: [9b647af872] user: geraint@users.sourceforge.net, branch: origin/master, size: 24531 [annotate] [blame] [check-ins using] [diff]
2004-08-29
13:14
Added rule to make header for sae (sorted algebraic equations). file: [3ad8306a05] check-in: [65bc3f5c5c] user: geraint@users.sourceforge.net, branch: origin/master, size: 24402 [annotate] [blame] [check-ins using] [diff]
01:48
Added rules to create headers for sorted systems: sesx and sesy. file: [b4490c7732] check-in: [fc45617aa4] user: geraint@users.sourceforge.net, branch: origin/master, size: 24197 [annotate] [blame] [check-ins using] [diff]
2004-08-28
22:08
Fixed zeromatrices statements: spaces instead of commas file: [fdd9fd468f] check-in: [05a9bb179f] user: geraint@users.sourceforge.net, branch: origin/master, size: 23834 [annotate] [blame] [check-ins using] [diff]
2004-07-19
22:22
Fixed initialisation of ColumnVectors for -oct. file: [a633670668] check-in: [e2048ec4bc] user: geraint@users.sourceforge.net, branch: origin/master, size: 23733 [annotate] [blame] [check-ins using] [diff]
2004-06-21
16:30
Don't zero for cc code file: [3172effd10] check-in: [c9e0db5495] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 23611 [annotate] [blame] [check-ins using] [diff]
16:05
Zapped comment that causes file: [f023820be2] check-in: [be8cd0c1cf] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 23528 [annotate] [blame] [check-ins using] [diff]
2004-06-20
13:53
Initialise for numpar as well file: [1c2ee47b47] check-in: [657d7472ea] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 23479 [annotate] [blame] [check-ins using] [diff]
13:34
Create vectors using zeros(N,1) - avoids new octave
default to row vector - more reps now included
file: [fd7c161201] check-in: [a453020289] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 23273 [annotate] [blame] [check-ins using] [diff]
10:18
Explicitly size vectors - avoid default row vector bug file: [70a9b440f6] check-in: [67d03faf90] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 22965 [annotate] [blame] [check-ins using] [diff]
2003-10-20
17:10
Deleted: Created tag version-0-1 check-in: [e62ad9467f] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 0
2003-04-17
20:07
Added rule to create _sese.m file: [9f0f43b070] check-in: [2d610a3ccb] user: geraint@users.sourceforge.net, branch: origin/master, size: 22741 [annotate] [blame] [check-ins using] [diff]
2002-10-30
01:15
Now gives correct-size matrices for dm rep. file: [30ee12f663] check-in: [75febf1035] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 22548 [annotate] [blame] [check-ins using] [diff]
2002-07-11
13:00
Declared more function arguments to be "const" - improves compiler optimisation. file: [0c3e517ae2] check-in: [5f9fba536f] user: geraint@users.sourceforge.net, branch: origin/master, size: 22280 [annotate] [blame] [check-ins using] [diff]
2002-07-10
15:52
Updated from main branch. file: [22e73f90c4] check-in: [324f841c3c] user: geraint@users.sourceforge.net, branch: origin/optimise-algebraic-equations, size: 22274 [annotate] [blame] [check-ins using] [diff]
2002-06-10
23:22
Fixed problem with Matlab fsolve failing because of "user function returned Inf or Nan" (fsolve.m, line 245). file: [a3ab0a20ce] check-in: [718f8cde73] user: geraint@users.sourceforge.net, branch: origin/master, size: 22111 [annotate] [blame] [check-ins using] [diff]
2002-05-27
14:52
Parameters in sfun reps are now declared using sympar.h at the top of the
sfun*.c file instead of in individual functions. This causes the optimisation
variables (mtt_tmp*) to be declared correctly without causing conflicts in the
scope of parameter declarations.
file: [b648dacad1] check-in: [bdfbe12d56] user: geraint@users.sourceforge.net, branch: origin/master, size: 21800 [annotate] [blame] [check-ins using] [diff]
2002-05-19
13:01
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,
the compiler bundled with Matlab.

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. file: [60dbd07829] check-in: [062029b187] user: geraint@users.sourceforge.net, branch: origin/master, size: 21290 [annotate] [blame] [check-ins using] [diff]

2002-05-15
14:22
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. file: [c5cc8a3a52] check-in: [d9e3b30dc2] user: geraint@users.sourceforge.net, branch: origin/master, size: 20771 [annotate] [blame] [check-ins using] [diff]

2002-05-11
01:14
Fix for [ 553218 ] simpar.oct and simpar.m different.
Translation added between ColumnVector in base .cc and Octave_map in .oct.
file: [83d0d37bdc] check-in: [6e685b7bca] user: geraint@users.sourceforge.net, branch: origin/master, size: 20322 [annotate] [blame] [check-ins using] [diff]
2002-05-08
14:51
Moved matlab/octave data type conversion functions to a separate file. file: [630b2a9dfd] check-in: [cdb81663cf] user: geraint@users.sourceforge.net, branch: origin/master, size: 20081 [annotate] [blame] [check-ins using] [diff]
2002-05-07
23:50
Preliminary support for Matlab dynamically linked shared objects:
invoke with: mtt -cc sys rep mexglx
ode2odes support is not yet included.
file: [aeb001e855] check-in: [db3acb3909] user: geraint@users.sourceforge.net, branch: origin/master, size: 21248 [annotate] [blame] [check-ins using] [diff]
13:48
Improved clarity of code generated for -cc and -oct (except ode2odes).
Octave DEFUN_DLDs now call (rather than replace) their .cc equivalents.
file: [6bf6a9a964] check-in: [058538fe27] user: geraint@users.sourceforge.net, branch: origin/master, size: 18589 [annotate] [blame] [check-ins using] [diff]
2002-05-02
09:30
_ssim.m now returns t as 4th arg file: [60273694d1] check-in: [35c0c04449] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 19598 [annotate] [blame] [check-ins using] [diff]
2002-05-01
17:30
Improved pre-processor directives to better accommodate future alternatives (matlab)
if necessary.
file: [c82b78366b] check-in: [5685d298d1] user: geraint@users.sourceforge.net, branch: origin/master, size: 19441 [annotate] [blame] [check-ins using] [diff]
2002-04-30
23:27
Replaced octave_map with columnvector in simpar.cc. Not quite as descriptive but
standardises the interfaces somewhat and reduces the dependency on liboctinterp
(and thus libreadline, libkpathsea, libncurses, etc).
file: [f0f5b8d756] check-in: [8641b82344] user: geraint@users.sourceforge.net, branch: origin/master, size: 18831 [annotate] [blame] [check-ins using] [diff]
2002-04-28
18:41
Fixed [ 549658 ] awk should be gawk.
Replaced calls to awk with call to gawk.
file: [6c32b8d392] check-in: [66bb5feadf] user: geraint@users.sourceforge.net, branch: origin/master, size: 18748 [annotate] [blame] [check-ins using] [diff]
2002-04-23
17:46
_sim.m now returns time as third argument file: [83dcd3c682] check-in: [864f048dbc] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 18643 [annotate] [blame] [check-ins using] [diff]
09:51
Deleted: Created branch unlabeled-1.7.2 check-in: [afb9dc617d] user: gawthrop@users.sourceforge.net, branch: origin/unlabeled-1.7.2, size: 0
2002-04-17
16:23
Partial fix for [ 545113 ] zeros missing in c++.
Fixes -oct by removing duplicate initialisation (-c is still outstanding).
file: [0a1d86f26e] check-in: [bbb94d4670] user: geraint@users.sourceforge.net, branch: origin/master, size: 18461 [annotate] [blame] [check-ins using] [diff]
2002-04-15
10:54
Statically declare outputs and initialise to zero.
This is necessary to prevent spurious values from being output when no assignments are made (i.e. when "y(i) := 0 for all u" (Reduce:see NERO)).
file: [9b53c3c771] check-in: [2b99562b30] user: geraint@users.sourceforge.net, branch: origin/master, size: 18320 [annotate] [blame] [check-ins using] [diff]
2001-07-23
23:43
header only version does not need to compute sizes from _def.r file: [a0d03d6db5] check-in: [30623ff1dd] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 18160 [annotate] [blame] [check-ins using] [diff]
2001-07-13
04:54
Branch merge: numerical-algebraic-solution back to main. file: [d88a1bf0c6] check-in: [1a563890dc] user: geraint@users.sourceforge.net, branch: origin/master, size: 17601 [annotate] [blame] [check-ins using] [diff]
2001-07-12
04:00
Now zeros y correctly - ie Ny NOT Nx elements file: [2bd64ee2d2] check-in: [6c7a2c10a3] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 16877 [annotate] [blame] [check-ins using] [diff]
2001-07-02
00:34
gcc-3.0 compatibility. file: [9fc0e90582] check-in: [98a5282e8f] user: geraint@users.sourceforge.net, branch: origin/numerical-algebraic-solution, size: 16337 [annotate] [blame] [check-ins using] [diff]
2001-06-13
10:39
Zeros output matices in csex and cseo just in case some elements are
actually zero and not set in code. Works for m and oct.
file: [0200a294be] check-in: [8a22d5d265] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 16695 [annotate] [blame] [check-ins using] [diff]
2001-05-26
18:36
Further modifications. Now works on rcPPP
-- next jobs:
add identification to ppp_nlin_sim
create real-time ppp_nlin_run
file: [f2723c0fc8] check-in: [3f62cd4a52] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 16200 [annotate] [blame] [check-ins using] [diff]
15:46
Updated to account for new nonlinear ppp file: [63911c75bc] check-in: [6632bcb60e] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 15993 [annotate] [blame] [check-ins using] [diff]
2001-05-24
07:42
Included and updated the missing tf_r2m file: [dbbc0973db] check-in: [c13b3e7399] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 15897 [annotate] [blame] [check-ins using] [diff]
2001-05-04
04:07
Numerical solution of algebraic equations.
sys_ae.cc written for unsolved inputs.
Solution of equations using hybrd from MINPACK (as used by Octave fsolve).
file: [c460ed9eaf] check-in: [2640c1bcbb] user: geraint@users.sourceforge.net, branch: origin/numerical-algebraic-solution, size: 16115 [annotate] [blame] [check-ins using] [diff]
2001-04-03
14:49
Revised to incorporate new ssim (sensitivity simulation)
representation (m only just now).
file: [6a295989c6] check-in: [5fc249a8b0] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 15645 [annotate] [blame] [check-ins using] [diff]
2001-03-30
15:13
Rationalised simulation modes to each return mtt_data file: [61f3b439e7] check-in: [e245176674] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 15136 [annotate] [blame] [check-ins using] [diff]
2001-03-27
13:10
Improved determination of Octave version. file: [0e3dd0e69d] check-in: [1d1895315e] user: geraint@users.sourceforge.net, branch: origin/master, size: 15037 [annotate] [blame] [check-ins using] [diff]
2001-02-17
03:48
Use assignment LHS to gather tmp variable names.
Prevents collection of long expressions, eg: tmp34*(tmp75
file: [4ed073be0b] check-in: [f4fd201171] user: geraint@users.sourceforge.net, branch: origin/master, size: 14774 [annotate] [blame] [check-ins using] [diff]
2001-02-14
06:06
Removed octave_value_list wrappers from standalone.exe - speed improvements file: [0b46b8b3ac] check-in: [2b317a41b7] user: geraint@users.sourceforge.net, branch: origin/master, size: 14637 [annotate] [blame] [check-ins using] [diff]
2001-02-05
08:50
Octave 2.1.x compatability. file: [7675745543] check-in: [f53801a595] user: geraint@users.sourceforge.net, branch: origin/master, size: 13557 [annotate] [blame] [check-ins using] [diff]
2000-12-05
12:05
Changed to () form file: [690440172a] check-in: [2f1942ae91] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12948 [annotate] [blame] [check-ins using] [diff]
10:04
Fixed dummy variable bug file: [dfc8551f84] check-in: [b4fc80e6e0] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12955 [annotate] [blame] [check-ins using] [diff]
09:47
Include crs as c files file: [d09fce34a6] check-in: [e6a7948e4e] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12882 [annotate] [blame] [check-ins using] [diff]
2000-12-04
12:19
Changed $() to `` and $() to expr for sh compatibility -- geraint file: [9acfcb8822] check-in: [13b715d5b4] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12737 [annotate] [blame] [check-ins using] [diff]
08:52
Zapped () in functions for sh compatibility file: [b3875f1f0b] check-in: [daf52efc94] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12635 [annotate] [blame] [check-ins using] [diff]
08:19
Added switch declarations - in logic.cc file: [2bdf0aef7a] check-in: [0f2f3db04a] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12561 [annotate] [blame] [check-ins using] [diff]
2000-12-03
16:11
Corrected bug in logic declatations file: [b424877f21] check-in: [f58fe3c9bc] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12280 [annotate] [blame] [check-ins using] [diff]
16:06
Fixed bug in generating dummies
Added logic declarations
file: [e9500f09d1] check-in: [2e73eadee8] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 12167 [annotate] [blame] [check-ins using] [diff]
2000-12-01
20:55
Added Geraint's fix for zeroing matrices file: [202c842c74] check-in: [84118dc0fb] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 11890 [annotate] [blame] [check-ins using] [diff]
17:56
Removed spurious echo '## Set matrices to zero' - thanks Geraint file: [0cf51399c1] check-in: [f148db5d5d] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 11660 [annotate] [blame] [check-ins using] [diff]
2000-11-29
21:06
Removed Npar creation - not needed?? file: [52a1e4e33d] check-in: [c037b4cb93] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 11567 [annotate] [blame] [check-ins using] [diff]
2000-11-27
11:51
Added zero matrices in matlab code file: [e73dff93c1] check-in: [ce706360ab] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 11478 [annotate] [blame] [check-ins using] [diff]
2000-11-09
17:19
Geraint's pow() mods file: [de5c0e19db] check-in: [e178bab805] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 10856 [annotate] [blame] [check-ins using] [diff]
16:09
Declare dummy variables (mtt_s1 etc) file: [6c55bf9b18] check-in: [bd23fffb08] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 10749 [annotate] [blame] [check-ins using] [diff]
15:29
lower-case declarations file: [7145292f9f] check-in: [66de85792d] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 10182 [annotate] [blame] [check-ins using] [diff]
2000-11-07
17:20
useful-functions.hh now included locally file: [6b48f7198b] check-in: [efc041f9fa] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 8666 [annotate] [blame] [check-ins using] [diff]
16:56
Version from Geraint file: [4c8b8f966f] check-in: [d30f7c6eee] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 8597 [annotate] [blame] [check-ins using] [diff]
2000-10-17
16:35
No parameter,state or input conversion in txt files file: [d4601e0783] check-in: [649e803b79] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 4076 [annotate] [blame] [check-ins using] [diff]
09:53
Fixed logic rep file: [18c2c46564] check-in: [5523f0b58d] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 3987 [annotate] [blame] [check-ins using] [diff]
08:37
Included logic rep file: [12b2b249cc] check-in: [902e1bb6d5] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 3923 [annotate] [blame] [check-ins using] [diff]
2000-10-14
09:12
No dies arguments and output itself file: [768dfbfc37] check-in: [4e18f41e9b] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 3541 [annotate] [blame] [check-ins using] [diff]
06:49
Make parameter listing representation dependent file: [94471b6a2d] check-in: [737ec4d9a3] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 2569 [annotate] [blame] [check-ins using] [diff]
2000-10-11
08:59
Added csex rep file: [cb6b2f3e69] check-in: [94b92b40c3] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 2308 [annotate] [blame] [check-ins using] [diff]
08:01
Added noglobal fudge file: [1c8b860930] check-in: [3ade5884b1] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 2189 [annotate] [blame] [check-ins using] [diff]
2000-10-10
21:02
Added: Initial revision file: [6857243a08] check-in: [99e267ac74] user: gawthrop@users.sourceforge.net, branch: origin/master, size: 1961 [annotate] [blame] [check-ins using]

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]