help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: figuring out binary file format


From: Dmitri A. Sergatskov
Subject: Re: figuring out binary file format
Date: Mon, 11 Sep 2006 13:55:13 -0600

On 9/11/06, Bryan Lepore <address@hidden> wrote:
> On Mon, 11 Sep 2006, Quentin Spencer wrote:
> fid = fopen("28JUL06G.DAT");
> data = fread (fid,Inf,"32*single",0,"ieee-be");
> fclose(fid);

thanks - now, i don't really know the format, so i can't specify one e.g in
printf.

i'd like to just dump the data to stout to see what's in it.  freport says :
  number  mode  arch       name
  ------  ----  ----       ----
     0       r     native  stdin
     1       w     native  stdout
     2       w     native  stderr
... is there a way to just output everything unformatted to stdout just to
get a clue as to what it is?

Why do you use octave then? What is wrong with e.g. 'od' or some
hex editor?


-bryan


Dmitri.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]