Differences From Artifact [478d2633c6]:

To Artifact [5d46fef15d]:


15
16
17
18
19
20
21



22
23
24
25
26
27
28
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31







+
+
+







# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.8  1996/08/12 20:19:52  peter
## Arguments now passed via $1_args.m file
##
## Revision 1.7  1996/08/11 19:49:27  peter
## Parameter passing (via $4) added.
##
## Revision 1.6  1996/08/11 10:40:56  peter
## Added new numpar stuff.
## Added step response.
##
248
249
250
251
252
253
254
255
256


257
258
259
260
261
262
263
264
265
266








267
268
269
270
271
272
273
251
252
253
254
255
256
257


258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284







-
-
+
+










+
+
+
+
+
+
+
+







$1_tf.tex: $1_def.r $1_tf.r $1_sympar.r $1_simp.r
	tf_r2tex $1; latex_tidy $1_tf.tex


#Time responses
$1_ir.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2ir_m2dat $1 '$4'
$1_sr.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2sr_m2dat $1 '$4'
$1_sr.m: $1_dm.m $1_numpar.m $1_args.m
	dm2sr_m $1 '$4'

#Frequency responses
$1_fr.dat: $1_dm.m $1_numpar.m $1_args.m
	dm2fr_m2dat $1 '$4'

#Partially-known system indentification structure matrices
$1_pkim.r: $1_tf.r $1_sympar.r 
	tf2pkim_r $1; tidy $1_pki.r
$1_pkim.tex: $1_def.r $1_pkim.r $1_sympar.r
	pkim_r2tex $1; latex_tidy $1_pkim.tex

#Generic conversion of data files from m to dat format
$1_$2.dat: $1_$2.m
	m2dat $1_$2

#Generic conversion of data files from dat to (gplot) gdat format
$1_$2.gdat: $1_$2.dat
	dat2gdat $1_$2

#Generic conversion of Latex to latex document
$1_$2.doc: $1_$2.tex
	showtex $1 $2

#Generic conversion of LaTeX doc to dvi
$1_$2.dvi: $1_$2.doc
287
288
289
290
291
292
293
294
295


296
297
298
299
300


301
302
303
304
305


306
307
308
309
310
311
312
298
299
300
301
302
303
304


305
306
307
308
309


310
311
312
313
314


315
316
317
318
319
320
321
322
323







-
-
+
+



-
-
+
+



-
-
+
+







$1_cbg.ps: $1_cbg.fig
	echo Creating $1_cbg.ps
	fig2dev -Lps $1_cbg.fig >$1_cbg.ps
endif

#Create PostScript version of dat file
ifeq ('$2','ir')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

ifeq ('$2','sr')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

ifeq ('$2','fr')
$1_$2.ps: $1_$2.dat
	dat2ps $1_$2
$1_$2.ps: $1_$2.gdat
	gdat2ps $1_$2
endif

#Generic conversion of dvi to ps
ifneq ('$2','abg')
ifneq ('$2','cbg')
ifneq ('$2','ir')
ifneq ('$2','sr')

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