Overview
Comment:Agument to state
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 9930117269a890a79012c9cf0f71069586c1aa956f59063d5fb9ae7a74b75d6c
User & Date: gawthrop@users.sourceforge.net on 2000-05-19 17:47:56
Other Links: branch diff | manifest | tags
Context
2000-05-19
17:48:16
Argument to state check-in: e1647a4805 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:47:56
Agument to state check-in: 9930117269 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:47:35
Fixed bug in oct version but still needs proper check check-in: 81f0282276 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/octave_ode2odes from [678d5f3923] to [0f25571f14].

9
10
11
12
13
14
15



16
17
18
19
20
21
22
23
24





25
26
27
28
29
30
31
32
# Copyright (c) P.J.Gawthrop 1999

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.1  1999/03/15 23:27:16  peterg
## Initial revision
##
###############################################################


echo Creating $1_odes.dat2
$MATRIX  <<EOF >octave_ode2odes.log 2>mtt_error.txt
  global MTT_data





  $1_ode2odes;
  if is_complex(MTT_data)
    mtt_error("octave_ode2odes: Simulated data is complex - something is wrong!");
    MTT_data = real(MTT_data);
  endif;
  save -ascii $1_odes.dat2 MTT_data
EOF








>
>
>









>
>
>
>
>
|







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
# Copyright (c) P.J.Gawthrop 1999

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.2  2000/05/11 13:43:14  peterg
## No change
##
## Revision 1.1  1999/03/15 23:27:16  peterg
## Initial revision
##
###############################################################


echo Creating $1_odes.dat2
$MATRIX  <<EOF >octave_ode2odes.log 2>mtt_error.txt
  global MTT_data

  ## Set up the simulation parameters
  par = $1_numpar; 
  x_0  =  $1_state(par);
  simpar = $1_simpar;
  $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;
  save -ascii $1_odes.dat2 MTT_data
EOF


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