| Mapping Toolbox™ | ![]() |
mat = spcread
mat = spcread(filename)
mat = spcread(cols)
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.
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.
![]() | smoothlong | spzerom | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |