Skip to main content
1-Visitor
November 8, 2011
Question

Append binary files in Mathcad

  • November 8, 2011
  • 1 reply
  • 7847 views

Hi all,

Is it possible to append binary files of different format together in Mathcad 15? I would need this to generate a new file format.

Thanks,

Catherine

1 reply

24-Ruby III
November 8, 2011

Hello!

Please provide an example.

1-Visitor
November 8, 2011

I need to generate a file consisting of a mixture of integers and doubles. The file is defined by first n integers followed by m doubles. Writebin() only allows to create a file of a specific format, either integer or doubles. So I thought of making two separate binary files and then appending them together.

1-Visitor
November 8, 2011

Hi Mike,

According to its definition, the function Writebin() allows you to write a binary file of a certain data format uint16, float etc... which you have to specify. In my case, I'm interested in generating a file that contains different formats and I cannot figure out how to do so in mathcad.