Syntax

Arguments

(Optional) Extra text written after the description line
(line 2 in the file).

dates

Column vector containing dates. Dates must be in serial
date number format and can specify time of day.

data

Column-oriented matrix. Each column is a series.

colheads

(Optional) Cell array of column headers (names); first
cell must always be the one for the dates column. colheads is
written to the file just before the data.

desc

(Optional) Description text, which is the first line
in the file.

Description

stat = fts2ascii(filename, tsobj, exttext) writes
the financial time series object tsobj into an
ASCII file filename. The data in the file is tab
delimited.

stat = fts2ascii(filename, dates, data, colheads, desc,
exttext) writes into an ASCII file filename the
dates, times, and data contained in the column vector dates and the
column-oriented matrix data. The first column in filename contains
the dates, followed by times (if specified). Subsequent
columns contain the data. The data in the file
is tab delimited.