help-octave
[Top][All Lists]
Advanced

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

converting a Matlab fread line


From: Harbinson, Jeremy
Subject: converting a Matlab fread line
Date: Fri, 3 Dec 2004 23:39:52 +0100

Hi,
I have been given a Matlab script which I would like to run in Octave. Octave 
has a problem with:

F = fread(fid,2,'char=>double');

(the sequence of commands is:
fid = fopen(filename,'r');

fseek(fid, 37, -1);
F = fread(fid,2,'char=>double');)

I suspect that the char=>double conversion might be the cause of the problem. 
Is this correct and is there a fix/workaround.
Thanks
all the best,
Jeremy Harbinson



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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