Statistics Toolbox    
tblwrite

Writes tabular data to the file system

Syntax

Description

tblwrite(data,'varnames','casenames') displays the File Open dialog box for interactive specification of the tabular data output file. The file format has variable names in the first row, case names in the first column and data starting in the (2,2) position.

'varnames' is a string matrix containing the variable names. 'casenames' is a string matrix containing the names of each case in the first column. data is a numeric matrix with a value for each variable-case pair.

tblwrite(data,'varnames','casenames','filename') allows command line specification of a file in the current directory, or the complete pathname of any file in the string 'filename'.

Example

Continuing the example from tblread:

See Also
casewrite, tblread


  tblread tcdf