Skip to content

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

  1. Matlab 2007b and greater

Installation

Just follow these three steps to get started:

  1. Download the Matlab SDK (zip) and extract the files into a directory on your computer, like C:\TDT\TDTMatlabSDK.

  2. Download Example Data. Extract the example data files into the 'Examples' folder in the SDK.

  3. 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));
    
  4. Importing data is easy

    data = TDTbin2mat('path/to/block');