help-octave
[Top][All Lists]
Advanced

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

a minor correction to read_pgm.m


From: Wonkoo Kim
Subject: a minor correction to read_pgm.m
Date: Sun, 07 Jun 98 06:56:47 -0400

I had to change fopen() line in read_pgm.m (posted a while ago) to

  [fid, msg] = fopen (filename, "rb");

as image files should be opened in binary mode under OS/2 (and
DOS/Win, ...).

(BTW, the octave manual doesn't explain binary mode "b" at all
 in fopen() description.  Ignoring non-unix users?  ;-) )

Thanks.

//--------------------------------------------------------------------
// Wonkoo Kim (address@hidden)



reply via email to

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