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.

23-Emerald I
November 9, 2011

Mike Armstrong wrote:

There doesn't seem to be a way to write a combination binary file in Mathcad, but is there one in Excel?

Mike

I don't thinl EXCEL knows anything about binary files--trying to open these files (try example.zbf) with EXCEL is an exercise in frustration.

The best shot at this is probably in MATLAB. (Sorry, I'll go wash my mouth out with soap now.)