nSTAT: neural Spike Train Analysis Toolbox


nSTAT is an open-source toolbox for Matlab protected by the GPL v2 Open Source License.

If you decide to use nSTAT in your own work, please cite as:

Cajigas I, Malik WQ, Brown EN. nSTAT: Open-source neural spike train analysis toolbox for Matlab. J. Neurosci. Methods 211: 245–264, 2012.(link)


Download latest nSTAT version from our GitHub repository: here

Download nSTAT version 2 (11/28/2013)

- Many small under-the-hood bug fixes

- Decoding examples using matlab symbolic toolbox fully functionally including history terms (Thanks Patrick Kasi for pointing out this bug!)


To install nSTAT toolbox:

1) Copy the files to the directory of your choice, e.g. c:\nSTAT\

2) Within Matlab, go the directory where you have copied the files

e.g. >> cd('c:\nSTAT\');

3) type nSTAT_Install from the matlab command prompt

e.g. >> nSTAT_Install

This step adds nSTAT to the matlab search path and makes the helpfiles

searchable along with all other matlab functions

nSTAT should now appear along with all other installed toolboxes in the

matlab help browser.