[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
converting a Matlab fread line
From: |
John W. Eaton |
Subject: |
converting a Matlab fread line |
Date: |
Fri, 3 Dec 2004 18:22:01 -0500 |
On 3-Dec-2004, Harbinson, Jeremy <address@hidden> wrote:
| 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.
What version of Octave are you using? This should work with the
latest recommended snapshot, 2.1.64 (or the previous one, 2.1.63).
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------