FUNCTION REFERENCE

matlab.io.text.DelimitedTextImportOptions

Import options object for delimited text files returned by detectImportOptions.

Import options object for delimited text files returned by detectImportOptions.

Syntax

opts = detectImportOptions('file.csv')

Holds delimiter, header lines, data lines, variable names, variable types, selected variables and per-variable VariableOptions. Customize with setvartype, getvaropts and setvaropts, then pass to readtable, readtimetable, readmatrix, readcell or preview.

Differences from MATLAB: Value object supporting core CSV/TSV options; fixed-width and custom rule callbacks are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.