Statistics Toolbox    
tdfread

Read file containing tab-delimited numeric and text values

Syntax

Description

tdfread displays the File Open dialog box for interactive selection of the data file. The file should consist of columns of values, separated by tabs, and with column names in the first line of the file. Each column is read from the file and assigned to a variable with the specified name. If all values for a column are numeric, the variable is converted to numbers; otherwise the variable is a string matrix. After all values are imported, tdfread displays information about the imported values using the format of the whos command.

tdfread('filename') allows command line specification of the name of a file in the current directory, or the complete pathname of any file.

tdfread('filename','delimiter') indicates that the character specified by 'delimiter' separates columns in the file. Accepted values are:

The default delimiter is 'tab'.

Example

See Also
tblread


  tcdf tinv