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
- Follow-Ups:
- Re: FastBinaryFiles
- From: John Fultz <jfultz@wolfram.com>
- Re: FastBinaryFiles