File Exchange

image thumbnail


version 2.0.3 (33.4 MB) by Mick Crosse
A MATLAB Package for Relating Neural Signals to Continuous Stimuli


Updated 30 Jun 2020

GitHub view license on GitHub

mTRF-Toolbox is a MATLAB package for quantitative modelling of sensory processing, suitable for neurophysiological data such as MEG, EEG, sEEG, ECoG and EMG. It can be used to model the functional relationship between neuronal populations and dynamic sensory inputs such as natural scenes and sounds, or build neural decoders for reconstructing stimulus features and developing real-time applications such as brain-computer interfaces (BCIs).

Cite As

Crosse, Michael J., et al. “The Multivariate Temporal Response Function (MTRF) Toolbox: A MATLAB Toolbox for Relating Neural Signals to Continuous Stimuli.” Frontiers in Human Neuroscience, vol. 10, Frontiers Media SA, Nov. 2016, doi:10.3389/fnhum.2016.00604.

View more styles

Comments and Ratings (4)

Jiawei Li



This is very good for work me



Added function for CV data partitioning, added feature for equal fold generation, changed AMI metric to ADI metric for attention decoder optimization, added feature for specifying evaluation metrics.


New structuring of toolbox, new functions and features, new example scripts, faster and memory-efficient cross-validation, no additional MathWorks toolboxes required.


* Migrated parsevarargin within main functions
* Fixed bug for specifying model type
* Improved indexing and readability
* Removed coherent motion dataset
* Updated license

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux