help-octave
[Top][All Lists]
Advanced

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

Re: Reading double written by java


From: Sergei Steshenko
Subject: Re: Reading double written by java
Date: Thu, 21 Jul 2016 01:49:12 +0000 (UTC)




----- Original Message -----
> From: sting <address@hidden>
> To: address@hidden
> Sent: Wednesday, July 20, 2016 11:52 PM
> Subject: Reading double written by java
> 
> I have some binary data files written by java and I am trying to read them
> intoOctave.  I am new to Octave so I only think I know some of the basics.
> 
> The file starts with 40 double's so I try to read them with:
> 
> fread(fid, 1, "double") and I get a number like: 6.6501e-133 and when 
> the
> value is read from a java program the number is 0.9271877560931512.  Is
> there something wrong with the format?
> 
> 
> 
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Reading-double-written-by-java-tp4678713.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave

> 


You have to first find out in what format you Java application writes.

--Sergei.


reply via email to

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