dlmread
Read a delimited text file into a matrix.
Syntax
Section titled “Syntax”M = dlmread(filename)M = dlmread(filename, dlm)M = dlmread(filename, dlm, row, col)M = dlmread(filename, dlm, range)Description
Section titled “Description”Like csvread but with a configurable column delimiter dlm (any single character — comma, tab, semicolon, etc.). With no dlm, auto-detects.
Examples
Section titled “Examples”dlmread('data.tsv', '\t')dlmread('data.txt', ';', 1, 0)