Overview
Comment:Corrected number of columns in SciGraphica worksheet.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 3c9561eccf269e4c60925dd71730ed5280a2ba605661bb5c9335633414df47c7
User & Date: geraint@users.sourceforge.net on 2001-04-15 21:09:49
Other Links: branch diff | manifest | tags
Context
2001-04-15
21:15:41
Added interface definition rep: _ICD.(txt|c|cc|m). check-in: 550dfb07d1 user: geraint@users.sourceforge.net tags: origin/master, trunk
21:09:49
Corrected number of columns in SciGraphica worksheet. check-in: 3c9561eccf user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-04-14
05:11:02
Added conversion of simulation data to SciGraphica XML format (_odes.sg). check-in: 5db3ee1985 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/dat22sg.sh from [e99ab9281a] to [688748624c].

129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
NY=`mtt_getsize ${sys} y`
NTMP=`wc -l ${sys}_odes.dat2 | awk '{print $1}'`
NROW=`expr ${NTMP} - 4`		# 4 comment lines in MTT_data

{
    write_project_header
    # states
    write_worksheet_header	"X_${sys}" `expr 1 + ${NX}` ${NROW}
    write_state_headings	${sys}
    write_cell_values		${sys} x
    write_worksheet_footer
    # outputs
    write_worksheet_header	"Y_${sys}" `expr 1 + ${NY}` ${NROW}
    write_output_headings	${sys}
    write_cell_values		${sys} y
    write_worksheet_footer
    write_project_footer
} > ${file}








|




|






129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
NY=`mtt_getsize ${sys} y`
NTMP=`wc -l ${sys}_odes.dat2 | awk '{print $1}'`
NROW=`expr ${NTMP} - 4`		# 4 comment lines in MTT_data

{
    write_project_header
    # states
    write_worksheet_header	"X_${sys}" ${NX} ${NROW}
    write_state_headings	${sys}
    write_cell_values		${sys} x
    write_worksheet_footer
    # outputs
    write_worksheet_header	"Y_${sys}" ${NY} ${NROW}
    write_output_headings	${sys}
    write_cell_values		${sys} y
    write_worksheet_footer
    write_project_footer
} > ${file}


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