Importing TDT Data into Matlab for Offline Analysis
TDT provides a set of cross-platform tools for reading TDT data files directly into Matlab offline. It is compatible with Matlab 2007b and greater.
Requirements
- Matlab 2007b and greater
Installation
Just follow these three steps to get started:
-
Download the Matlab SDK (zip) and extract the files into a directory on your computer, like
C:\TDT\TDTMatlabSDK
. -
Download Example Data. Extract the example data files into the 'Examples' folder in the SDK.
-
Add the path to the unzipped Matlab tools directory.
SDKPATH = 'C:\TDT\TDTMatlabSDK'; % or whatever path you extracted the SDK zip into addpath(genpath(SDKPATH));
-
Importing data is easy
data = TDTbin2mat('path/to/block');