Overview
Comment:Improved determination of Octave version.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 31ebb993e58a3384365b94773298b2ba35ad8e02187389db521f979b2d1c2942
User & Date: geraint@users.sourceforge.net on 2001-03-27 01:14:27
Other Links: branch diff | manifest | tags
Context
2001-03-27
13:10:23
Improved determination of Octave version. check-in: 1d1895315e user: geraint@users.sourceforge.net tags: origin/master, trunk
01:14:27
Improved determination of Octave version. check-in: 31ebb993e5 user: geraint@users.sourceforge.net tags: origin/master, trunk
01:07:34
Improved determination of Octave version for ode2odes.exe creation.
Removed FORCE check_update of .txts.
check-in: ee25b5682e user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/make_ode2odes from [c175247979] to [34aabe5863].

1
2
3
4
5
6
7
8
9
10
11



12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21











+
+
+







#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
    ######################################

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.53  2001/03/21 03:24:59  geraint
## Calculate inputs before outputs (.cc).
##
## Revision 1.52  2001/03/19 02:28:52  geraint
## Branch merge: merging-ode2odes-exe back to MAIN.
##
## Revision 1.51.2.7  2001/03/17 09:51:07  geraint
## Implemented Runge-Kutta IV fixed-step method (-i rk4).
##
## Revision 1.51.2.6  2001/03/16 03:56:13  geraint
309
310
311
312
313
314
315
316
317
318
319








320
321
322




323


324
325
326
327
328
329
330
312
313
314
315
316
317
318




319
320
321
322
323
324
325
326



327
328
329
330

331
332
333
334
335
336
337
338
339







-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
+
+








EOF
} # make_m

make_cc() 
{
# get octave version
octave_development=`octave --version | awk '{print $4}' | awk -F\. '{print $2}'`
if [ $octave_development ]; then
    vector_value=column_vector_value
    feval_header=parse.h
case `$MATRIX --version | awk -F\. '{print $2}'` in
    0) # stable
	vector_value=vector_value
	feval_header=toplev.h
	;;
    1) # development
	vector_value=column_vector_value
	feval_header=parse.h
else
    vector_value=vector_value
    feval_header=toplev.h
	;;
    *)
	vector_value=column_vector_value
	feval_header=parse.h
fi
	;;
esac

cat <<EOF  > $filename
#include <octave/oct.h>
#include <octave/ov-struct.h>
#include <octave/load-save.h>
#include <octave/lo-mappers.h>
#include <octave/variables.h>


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