Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

FastBinaryFiles

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18884] FastBinaryFiles
  • From: Virgil Stokes <virgil.stokes at neuro.ki.se>
  • Date: Sun, 25 Jul 1999 03:30:16 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I recently installed FastBinaryFiles (in Mathematica 3.01, for Window NT 4.0).
According to the readme.txt file that came with this package, the following
should
work:

Needs["Utilities`BinaryFiles`"]

data = N[Table[n, {n, -10, 10}]]

nn = Length[data]

stream = OpenWriteBinary["e:\data\binarytest"]

WriteBinary[stream,data,Double]

Close[stream]

stream = OpenReadBinary["e:\data\binarytest"]

xx = ReadListBinary[stream,Double,nn]

Print[xx]

Close[stream];


This does not work (at least for me) -- the WriteBinary does not compile.
But, according to the readme.txt file, it should compile. What am I doing
wrong?

-- Virgil




  • Prev by Date: Eigensystems
  • Next by Date: FastBinaryFiles again...
  • Previous by thread: Re: Eigensystems
  • Next by thread: Re: FastBinaryFiles