Install
Install Neuronal Data Analyzer Lab
Download a tagged release, add it to the MATLAB path and launch it with NeuroAnalyzerLab.
Steps
- Download the release ZIP from Releases (Source code (zip)). Use Releases rather than the green
Code → Download ZIP button: that button gives the in-development
mainbranch. - Unzip it somewhere stable, for example
~/Documents/MATLAB/NeuronalDataAnalyzerLab. - Add it to the path once, in the MATLAB Command Window:
addpath(genpath('~/Documents/MATLAB/NeuronalDataAnalyzerLab')); savepath; % optional: keep it for future sessions - Launch:
The launcher asks for an Import folder (raw data) and an Export folder (results) the first time. Both are stored as MATLAB preferences.NeuroAnalyzerLab
Check the installation
- The launcher status bar says whether the Signal Processing Toolbox and the TDT SDK were found.
- Click Try demo data in any window and compare the result with the window's "Demo data" section in the guide.
- Optional: run the test suite from the toolbox folder with
run_tests. Tests that need a display or a missing toolbox are skipped.
Requirements
| Needed for | Requirement |
|---|---|
| Everything | MATLAB R2021a or later (the windows use uifigure, uigridlayout, uihyperlink) |
| Filtering, downsampling, spike detection (LDF Processing, Extract Ephys, MUA Analysis) | Signal Processing Toolbox |
| Spike sorting (MUA Analysis, MUA batch): PCA, K-means, GMM, DBSCAN, silhouette | Statistics and Machine Learning Toolbox |
| Drawing a ROI or a line in ROI Analysis | Image Processing Toolbox (without it, store a roiMask in the .mat file) |
| ICA or wavelet features in spike sorting (optional) | FastICA or the Wavelet Toolbox; PCA works without them |
| Loading TDT tanks | TDT MATLAB SDK (below). The demo tank does not need it. |
| NWB export with the official schema classes (optional) | matnwb; without it a built-in writer produces an NWB-style file that is not validated |
TDT MATLAB SDK (only for TDT tanks)
The Tucker-Davis Technologies SDK is a separate, third-party toolbox with its own licence and is not included.
- Download it from tdt.com/support/matlab-sdk and unzip it.
- Place the
TDTMatlabSDK/folder underUtilities/, so thatUtilities/TDTMatlabSDK/TDTSDK/exists. - Restart MATLAB. Extract Ephys adds the SDK to the path when it is needed. The folder is ignored by git, so updates do not touch it.
Update
Download the new release ZIP, replace the contents of the same folder (the path stays the same) and launch again. To follow development instead, clone the repository into that folder:
git clone https://github.com/alesuarez92/NeuronalDataAnalyzerLab.git
Report bugs and ideas through GitHub issues rather than keeping a fork; see the licence.