Skip to main content
1-Visitor
September 22, 2013
Question

How to save string variables to text or CSV files without quotation marks in Mathcad Prime

  • September 22, 2013
  • 2 replies
  • 4298 views

Does anyone know how to export string variables to text or CSV files withour quoation marks "" in MathCad Prime?

This used to be easy in MathCad 15 using the Insert\Data\File Ouput.

Thanks, colin

2 replies

25-Diamond I
September 22, 2013

Colin Arbuthnot wrote:

Does anyone know how to export string variables to text or CSV files withour quoation marks "" in MathCad Prime?

As far as I know thats not possible in Prime. We have no components other than the Excel one and all the WRITExxx comands would write the strings inside quotation marks and I must confess that that makes sense to me.

In MC15 using the DataFileOutput you could separete the unquoted strings either by space, semicolon or tabs, but whenever the string itself contained the separating character a subsequent read in would give incorrect results.

19-Tanzanite
September 22, 2013

You could convert the text to binary, and use WRITEBIN. A painful solution that should not be necessary, but I think it would work.

25-Diamond I
September 22, 2013

Richard Jackson wrote:

You could convert the text to binary, and use WRITEBIN. A painful solution that should not be necessary, but I think it would work.

Yes it does - see attached 😉

19-Tanzanite
September 22, 2013

Nice