dash.dataSource.text.text

Create a new dash.dataSource.text object


Syntax



Description

obj = dash.dataSource.text(file)

Creates an object to read data from a delimited text file

obj = dash.dataSource.text(…, opts)

Reads data from the file using the provided ImportOptions object

obj = dash.dataSource.text(…, Name, Value)

Specifies additional import options using name-value pair arguments. Supported Name-Value pairs are those in Matlab’s “readmatrix” function. See the documentation page for “readmatrix” for details.


Input Arguments

file

string scalar
The name of a delimited text file

opts

ImportOptions
Additional options for importing data from the file

Name,Value

name-value pair
Additional import options for reading data from the file. Supported pairs are those for the “readmatrix” function

Output Arguments

obj

scalar dash.*dataSource*.*text* object
The new text object