Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.
