Overview
Comment:Generate usage comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 324ec37f958537287d5428a780eb407b0a5decbe9ae6dc65581541d94a0efe1b
User & Date: gawthrop@users.sourceforge.net on 2013-07-22 03:28:00
Other Links: branch diff | manifest | tags
Context
2013-08-16
03:05:01
Handle free version of reduce. check-in: e244a8d2a8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2013-07-22
03:28:00
Generate usage comment check-in: 324ec37f95 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2013-07-21
23:57:44
Sorted out conflict. check-in: ae95c1d505 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/struc_txt2m from [6d59673a1d] to [a49d581f14].

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
41
42
43
44
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
41
42
43
44
45
46
47
48
49







+
+
+
+




















+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4  2002/04/28 18:55:03  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
## Revision 1.3  2001/10/15 14:20:27  gawthrop
## Now handles the cases where ny or nx or nu are zero
##
## Revision 1.2  2001/03/19 02:28:52  geraint
## Branch merge: merging-ode2odes-exe back to MAIN.
##
## Revision 1.1.2.1  2001/03/06 03:52:15  geraint
## Put back struc_txt2m - required by mtt2sys.
##
###############################################################



# Inform user
echo "Creating $1_struc.m"

rm -f mtt_error

#Write some file headers
echo "function [input_name,output_name,state_name] = $1_struc" > $1_struc.m
echo "%% Usage: [input_name,output_name,state_name] = $1_struc" >> $1_struc.m
echo "%% Structure file ($1_struc.m)" >> $1_struc.m
echo "%% Generated by MTT at `date`" >> $1_struc.m

cat  >> $1_struc.m <<EOF

## Default to null strings
 input_name = "";


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