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: f8458c2a6a721a8cf6b7116dea45d787e374a1bedcd49e1a53f48a480107214e
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: 16076f51bd user: geraint@users.sourceforge.net tags: origin/master, trunk
21:09:49
Corrected number of columns in SciGraphica worksheet. check-in: f8458c2a6a 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: ac04814c93 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 ]