spcread - Read columns of data from ASCII text file
Syntax
mat = spcread
mat = spcread(filename)
mat = spcread(cols)
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 spcread function is similar to the
standard MATLAB function dlmread. spcread,
however, is much faster at reading large data sets of the type common
for geographic purposes.
See Also
nanclip
 | smoothlong | | spzerom |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit