readcols: Read columns of a whitespace delimited text file
Description
Read columns of a whitespace delimited text file
Usage
readcols(fn, colsel, nFirstSkipLines, nSkipUnit)
Arguments
colsel
a vector of target column numbers
nFirstSkipLines
Integer. Number of lines to skip in the beginning
nSkipUnit
Integer M. Let the function read one line out of every M
Value
A matrix of strings from selected columns