Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathlink: How do I pass arbitrary data from Mathematica to C?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86934] Re: Mathlink: How do I pass arbitrary data from Mathematica to C?
  • From: Karen Bindash <KarenBindash at googlemail.com>
  • Date: Wed, 26 Mar 2008 04:56:26 -0500 (EST)
  • References: <fs4rmb$p3s$1@smc.vnet.net>

I sent a post a few minutes ago in which I said the data might be a
binary file, I think I then gave the way I might read that as


BinaryReadList["filename.dat",Character8]

If I did (and I dont have a record of the post, which had not appeared
yet), then I was wrong. I should have used

BinaryReadList["filename.dat",Byte]

I think.

The point I need to get over is that the data format is not set in
stone, so I need a way of transfering an arbitrary collection of bytes


  • Prev by Date: Re: Intersection of 2D Surfaces in 3D
  • Next by Date: Colorfunction based upon flux direction
  • Previous by thread: Re: Mathlink: How do I pass arbitrary data from Mathematica to C?
  • Next by thread: Re: Mathlink: How do I pass arbitrary data from Mathematica to C?