help-octave
[Top][All Lists]
Advanced

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

Re: Help with fopen and fread


From: John W. Eaton
Subject: Re: Help with fopen and fread
Date: Sun, 11 Jun 2006 11:34:02 -0400

On 10-Jun-2006, Glenn Oliver wrote:

| 
| Thanks for taking time to look at my question.  
| 
| "filename" is a passed string argument, such as "M11_MGS_060517144832.ser".   
| The file is in the same directory that my ".m" file resides.  
| 
| If I do a simple command line fid = fopen(filename,"rb","ieee-be"), after I
| assigned the correct file to filename, I get a fid value of 3 returned,
| which is correct.  I then enter the following on the command line and get an
| incorrect lvalue message:
| [test, count] = fread(3, Inf, "uint32", 44)
| 
| I would expect an array of 36000 elements to be returned to test and count =
| 36000.
| 
| Thank you again for you help,

I think if you want more help at this point, you'll need to post a
complete example that demonstrates the failure so that someone else
can at least attempt to reproduce your problem.

jwe


reply via email to

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