The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
Dear Mathcad users,
Would anyone know how to write data to a file with a custom format?
After mathcad calculation, I am trying to write columns of data1 and data2 into an external ascii file in the following format:
( data1, data2)
How do you insert "(" and "," and ")" before, in between and after the data?
Any help would be appreciated!
Thanks,
HJS
Solved! Go to Solution.
Hi HJS,
Assuming you need an ASCII readable file, the function WriteData in attached mathcad sheet will do exactly what you asked.
Success!
Luc
Hi HJS,
Assuming you need an ASCII readable file, the function WriteData in attached mathcad sheet will do exactly what you asked.
Success!
Luc
Hi Luc,
Thanks much for your help.
It was exactly what I was looking for.
Thanks again.
HJS.