The Data source pane in the Financial Time Series app lets you do the following:
Load data you previously obtained and stored in a file.
View data contained within the MATLAB® workspace.
You can use the Financial Time Series app to load data from files previously stored on your computer. The types of data files you can load are as follows:
.mat files, with or
ASCII text files (
To obtain internal data:
From the Financial Time Series app, select File > Load > File to open the Load a MAT, ASCII, .XLS File dialog box.
Select the data you want to load into the Financial Time Series app.
If you load a MATLAB MAT-file, the variables
in the file are placed into the MATLAB workspace. The MATLAB
Workspace Variables list box shows the variables that have
been added to the workspace. For example, if you load the file
which is distributed with the toolbox, the MATLAB Workspace
Variables list box displays the variables in that MAT-file.
The Financial Time Series app automatically generates a line plot for each workspace variable unless you disable this feature by resetting the default action under File > Preferences > Generate line plot on load.
If you load a
.dat or an ASCII
the ASCII File Parameters dialog box opens. Use this dialog box to
transform a text data file into a MATLAB financial time series
The format for the ascii data must be:
Dates must be in a valid date character vector format:
'dd-mmm-yy' or '
Time information must be in
Each column must be separated either by spaces or a tab.
For more information on converting ascii data to a
If you load an Excel
the Excel File Parameters dialog box opens. Use this dialog box
to transform Excel worksheet data into a MATLAB financial
time series (
From the Financial Time Series app, select File > Save to save the data you loaded from an internal file.
The MATLAB Workspace Variables list box
displays all existing MATLAB workspace variables. Double-click
any variable to display the data in the Data Table.
You can only display financial time series (
objects, MATLAB doubles, and cell arrays of double data in the Data
In addition, you can click Refresh variable list to refresh the MATLAB Workspace Variables list box. You need to refresh this list periodically because it is refreshed automatically only for operations performed with the Financial Time Series app, not for operations performed within MATLAB itself.
Click Remove variable(s) to remove variable from the MATLAB Workspace Variables list and from the MATLAB workspace.