octave-maintainers
[Top][All Lists]
Advanced

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

request for fread feature


From: nit_ar
Subject: request for fread feature
Date: Sat, 22 Feb 2003 06:35:26 -0600

Hello Octave developers !

Thanks for your wonderful work.

I have noticed a missing feature in Octave fread in relation to Matlab
fread, whic I think is very useful for reading structured data.

The Octave fread syntax is:

[VAL, COUNT] =3D fread (FID, SIZE, PRECISION, SKIP, ARCH)

Usage of the SKIP parameter is limited for reading a single element
every <SKIP> elements.

Matlab fread has an extra feature with the PRECISION parameter which can
be prefixed buy an integer number multipling the precision spec such
that multiple elemnts can be read every SKIP elements.

For example: PRECISION =3D '10*int16' in Matlab means - reading 10
elements of type int16 and then skiping...

Octave does not have this feature implemented (as far as I have
noticed... up to 2.1.44).

Please consider adding this feature to Octave fread function since it is
very useful for reading structured data.

Thanks
Nitzan Arazi



reply via email to

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