ascii2fts
Create financial time series object from ASCII file
ascii2fts
is not recommended. Use timetable
instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
Description
creates a financial time series object FTS
= ascii2fts(filename
,descrow
,colheadrow
,skiprows
)FTS
from the ASCII file
named filename
. This form of the function can only read a data
file without time-of-day information and create a financial time series object
without time information. If time information is present in the ASCII file, an error
message appears.
The general format of the text data file is
Can contain header text lines.
Can contain column header information. The column header information must immediately precede the data series columns unless
skiprows
is specified.Leftmost column must be the date column.
Dates must be in a valid character vector date format:
'ddmmmyy'
or'ddmmmyyyy'
'mm/dd/yy'
or'mm/dd/yyyy'
'dd-mmm-yy'
or'dd-mmm-yyyy'
'mmm.dd,yy'
or'mmm.dd,yyyy'
Time information must be in
'hh:mm'
format.Each column must be separated either by spaces or a tab.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a