Mapping Toolbox | ![]() ![]() |
Read an ASCII file of space-delimited data columns
Syntax
Description
mat = spcread reads an ascii file of space delimited data in two columns and returns the data in a matrix mat
. The file is selected by dialog box.
mat = spcread(filename
) specifies the file from which to read by its name, given as the string filename
.
mat = spcread(cols) specifies the number of columns of space delimited data in the file with the integer cols
. The default value of cols
is 2.
Remarks
The functionality of this command is similar to the standard MATLAB command dlmread
. spcread
, however, is much faster at reading large data sets of the type common for geographic purposes.
See Also
nanclip |
Convert pen-down delimited data to NaN -delimited data |
![]() | smoothlong | spzerom | ![]() |