Documentation of hdrload
Global Index (all files) (short | long)
| Local contents
| Local Index (files in subdir) (short | long)
[header, data] = hdrload(file)
HDRLOAD Load data from an ASCII file containing a text header.
[header, data] = HDRLOAD('filename.ext') reads a data file
called 'filename.ext', which contains a text header. There
is no default extension; any extensions must be explicitly
The first output, HEADER, is the header information, returned
as a text array.
The second output, DATA, is the data matrix. This data matrix
has the same dimensions as the data in the file, one row per
line of ASCII data in the file. If the data is not regularly
spaced (i.e., each line of ASCII data does not contain the
same number of points), the data is returned as a column
Limitations: No line of the text header can begin with a number.
Only one header and data set will be read, and
the header must come before the data.
See also: LOAD, SAVE, SPCONVERT, FSCANF, FPRINTF, STR2MAT
and the IOFUN directory.
This document is part of version 3.8
GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
The Genetic and Evolutionary Algorithm Toolbox is not public domain
© 1994-2006 Hartmut Pohlheim, All Rights Reserved,