cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

how to write data to a file with a custom format?

hyokjae
1-Visitor

how to write data to a file with a custom format?

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

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald IV
(To:hyokjae)

Hi HJS,

Assuming you need an ASCII readable file, the function WriteData in attached mathcad sheet will do exactly what you asked.

Success!

Luc

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald IV
(To:hyokjae)

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.

Announcements

Top Tags