Text Files

Delimited or formatted I/O to text files


csvread Read comma-separated value (CSV) file
csvwrite Write comma-separated value file
dlmread Read ASCII-delimited file of numeric data into matrix
dlmwrite Write matrix to ASCII-delimited file
textscan Read formatted data from text file or string
readtable Create table from file
writetable Write table to file
type Display contents of file
Was this topic helpful?