MATLAB Function Reference | Search  Help Desk |
dlmread | See Also |
Read an ASCII delimited file into a matrix
M = dlmread(filename
,delimiter
) M = dlmread(filename
,delimiter
,r,c) M = dlmread(filename
,delimiter
,r,c,range)
M = dlmread(filename
,delimiter
)
reads data from the ASCII delimited format filename
, using the delimiter delimiter
. Use '\t'
to specify a tab.
M = dlmread(filename
,delimiter
,r,c)
reads data from the ASCII delimited format filename
, using the delimiter delimiter
, starting at file offset r
and c
. r
and c
are zero based so that r=0
, c=0
specifies the first value in the file.
M = dlmread(filename
,delimiter
,r,
c,range)
imports an indexed or named range of ASCII-delimited data. To use the cell range, specify range
by:
range
= [UpperLeftRow UpperLeftColumn LowerRightRow LowerRightColumn]
dlmwrite
Write a matrix to an ASCII delimited file
wk1read
Read a Lotus123 WK1 spreadsheet file into a matrix
wk1write
Write a matrix to a Lotus123 WK1 spreadsheet file