[Top][All Lists]

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

Re: fread/fwrite matlab --> octave

From: Darrel Hankerson
Subject: Re: fread/fwrite matlab --> octave
Date: Fri, 22 Dec 1995 09:45:26 -0600 (CST)

I <address@hidden> wrote:

   The ability to use the matlab
     image = fread(fid, [height, width], 'uchar')';
   would be welcomed. For example, this makes it easy to read raw (P5) 
   graymap files.

I meant to say this about the P2 graymap files, so I should have given
the example:

    image = fscanf(fid, '%d', [height, width])';

which works in matlab but not in octave. Sorry.

Thanks to Vinayak Dutt <address@hidden> for correcting my mistake.

--Darrel Hankerson address@hidden

reply via email to

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