Overview
Comment:Now notices changes in numpar state input and simpar
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 117a204ebb395b75b966620d0c5618433642000c66c1bd2edcde74af37aa1ca7
User & Date: gawthrop@users.sourceforge.net on 2002-05-15 16:32:35
Other Links: branch diff | manifest | tags
Context
2002-05-15
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

Changes

Modified mttroot/mtt/lib/rep/nppp_rep.make from [ca75fec30a] to [a45ca90fbc].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

sensitivity_reps = s${SYS}_sympar.m s${SYS}_simpar.m s${SYS}_state.m\
                   s${SYS}_numpar.m s${SYS}_input.m s${SYS}_ode2odes.m\
                   s${SYS}_ssim.m s${SYS}_def.m

all: ${SYS}_nppp.${LANG}

${SYS}_nppp.help_short:
	nppp_rep.sh ${SYS} help_short

${SYS}_nppp.help_long:
	nppp_rep.sh ${SYS} help_long

${SYS}_nppp.view: ${SYS}_nppp.ps
	echo Viewing ${SYS}_nppp.ps; ghostview ${SYS}_nppp.ps&

${SYS}_nppp.ps: ${SYS}_nppp.fig
	nppp_rep.sh ${SYS} ps

${SYS}_nppp.fig: ${SYS}_nppp.gdat







<
<
<
<
<
<







10
11
12
13
14
15
16






17
18
19
20
21
22
23

sensitivity_reps = s${SYS}_sympar.m s${SYS}_simpar.m s${SYS}_state.m\
                   s${SYS}_numpar.m s${SYS}_input.m s${SYS}_ode2odes.m\
                   s${SYS}_ssim.m s${SYS}_def.m

all: ${SYS}_nppp.${LANG}







${SYS}_nppp.view: ${SYS}_nppp.ps
	echo Viewing ${SYS}_nppp.ps; ghostview ${SYS}_nppp.ps&

${SYS}_nppp.ps: ${SYS}_nppp.fig
	nppp_rep.sh ${SYS} ps

${SYS}_nppp.fig: ${SYS}_nppp.gdat
42
43
44
45
46
47
48
49
50
51
52
53
54



55
56
57
58
59
60



61
62
63
64
65
66
67
68
69
70
71
72


73
74
75
76
77
78
79
80
81
82
83



84
85
86
87
88
89



90
91
92
93
94
95
96
97
98


99
100
${SYS}_nppp_numpar.m:
	nppp_rep.sh ${SYS} numpar.m

## System model reps
${SYS}_sympar.m:
	mtt ${OPTS} -q -stdin ${SYS} sympar m

${SYS}_simpar.m:
	mtt ${OPTS} -q -stdin ${SYS} simpar m

${SYS}_state.m:
	mtt ${OPTS} -q -stdin ${SYS} state m




${SYS}_numpar.m:
	mtt ${OPTS} -q -stdin ${SYS} numpar m

${SYS}_input.m:
	mtt ${OPTS} -q -stdin ${SYS} input m




${SYS}_ode2odes.m:
	mtt ${OPTS} -q -stdin ${SYS} ode2odes m

${SYS}_sim.m:
	mtt ${OPTS} -q -stdin ${SYS} sim m

${SYS}_def.m:
	mtt ${OPTS} -q -stdin ${SYS} def m

${SYS}_def.r:
	mtt ${OPTS} -q -stdin ${SYS} def r




## Sensitivity model reps
s${SYS}_sympar.m:
	mtt -q -stdin ${OPTS} -s s${SYS} sympar m

s${SYS}_simpar.m:
	mtt -q -stdin ${OPTS} -s s${SYS} simpar m

s${SYS}_state.m:
	mtt -q -stdin ${OPTS} -s s${SYS} state m




s${SYS}_numpar.m:
	mtt -q -stdin ${OPTS} -s s${SYS} numpar m

s${SYS}_input.m:
	mtt -q -stdin ${OPTS} -s s${SYS} input m




s${SYS}_ode2odes.m:
	mtt -q -stdin ${OPTS} -s s${SYS} ode2odes m

s${SYS}_ssim.m:
	mtt -q -stdin ${OPTS} -s s${SYS} ssim m

s${SYS}_def.m:
	mtt -q -stdin ${OPTS} -s s${SYS} def m












|


|


>
>
>
|


|


>
>
>
|


|


|


|


>
>








|


>
>
>
|


|


>
>
>
|








>
>


36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
${SYS}_nppp_numpar.m:
	nppp_rep.sh ${SYS} numpar.m

## System model reps
${SYS}_sympar.m:
	mtt ${OPTS} -q -stdin ${SYS} sympar m

${SYS}_simpar.m: ${SYS}_simpar.txt
	mtt ${OPTS} -q -stdin ${SYS} simpar m

${SYS}_state.m: ${SYS}_state.txt
	mtt ${OPTS} -q -stdin ${SYS} state m

${SYS}_state.txt: 
	mtt ${OPTS} -q -stdin ${SYS} state txt

${SYS}_numpar.m: ${SYS}_numpar.txt
	mtt ${OPTS} -q -stdin ${SYS} numpar m

${SYS}_input.m: ${SYS}_input.txt
	mtt ${OPTS} -q -stdin ${SYS} input m

${SYS}_input.txt: 
	mtt ${OPTS} -q -stdin ${SYS} input txt

${SYS}_ode2odes.m: ${SYS}_rdae.r
	mtt ${OPTS} -q -stdin ${SYS} ode2odes m

${SYS}_sim.m: ${SYS}_ode2odes.m
	mtt ${OPTS} -q -stdin ${SYS} sim m

${SYS}_def.m: ${SYS}_def.r
	mtt ${OPTS} -q -stdin ${SYS} def m

${SYS}_def.r: ${SYS}_abg.fig
	mtt ${OPTS} -q -stdin ${SYS} def r

${SYS}_rdae.r: 
	mtt ${OPTS} -q -stdin ${SYS} rdae r

## Sensitivity model reps
s${SYS}_sympar.m:
	mtt -q -stdin ${OPTS} -s s${SYS} sympar m

s${SYS}_simpar.m:
	mtt -q -stdin ${OPTS} -s s${SYS} simpar m

s${SYS}_state.m: s${SYS}_state.txt
	mtt -q -stdin ${OPTS} -s s${SYS} state m

s${SYS}_state.txt: 
	mtt -q -stdin ${OPTS} -s s${SYS} state txt

s${SYS}_numpar.m: s${SYS}_numpar.txt
	mtt -q -stdin ${OPTS} -s s${SYS} numpar m

s${SYS}_input.m: s${SYS}_input.txt
	mtt -q -stdin ${OPTS} -s s${SYS} input m

s${SYS}_input.txt:
	mtt -q -stdin ${OPTS} -s s${SYS} input txt

s${SYS}_ode2odes.m: s${SYS}_rdae.r
	mtt -q -stdin ${OPTS} -s s${SYS} ode2odes m

s${SYS}_ssim.m:
	mtt -q -stdin ${OPTS} -s s${SYS} ssim m

s${SYS}_def.m:
	mtt -q -stdin ${OPTS} -s s${SYS} def m

s${SYS}_rdae.r: 
	mtt ${OPTS} -q -stdin -s s${SYS} rdae r


Modified mttroot/mtt/lib/rep/nppp_rep.sh from [55671a0d9d] to [19f90f4533].

291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
	;;
    m)
        ## Make the code
        make_nppp;
	;;
    dat2)
	## The dat2 language (output data)
	if [ -f "${dat2_file}" ]; then
	  if [ "${dat2_file}" -ot "${nppp_numpar_file}" ]; then
	    make_dat2; 
	  else 
	    echo Using ${dat2_file}
	  fi
	else
	  make_dat2;    
        fi
	;;
    gdat)
        cp ${dat2_file} ${dat2s_file} 
	dat22dat ${sys} ${rep} 
        dat2gdat ${sys} ${rep}
	;;
    fig)







<
<
|
<
<
<
<
<
<







291
292
293
294
295
296
297


298






299
300
301
302
303
304
305
	;;
    m)
        ## Make the code
        make_nppp;
	;;
    dat2)
	## The dat2 language (output data)


	make_dat2; 






	;;
    gdat)
        cp ${dat2_file} ${dat2s_file} 
	dat22dat ${sys} ${rep} 
        dat2gdat ${sys} ${rep}
	;;
    fig)


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