On this page you can find model code of cognitive models described in my papers.

Borst, J.P. & Anderson, J.R. (in press). Discovering Cognitive Stages in M/EEG Data to inform Cognitive Models. In B.U. Forstmann, & B. Turner (Eds.), An Introduction to Model-Based Cognitive Neuroscience. 2nd edition. Springer: New York.
(pdf) (

Borst, J.P., Ghuman, A.S., & Anderson, J.R. (2016). Tracking Cognitive Processing Stages with MEG: A Spatio-Temporal Model of Associative Recognition in the Brain NeuroImage.
Matlab code and data for classification of sensor data (zip, 2 GB)

Borst, J.P., Nijboer, M., Taatgen, N.A., Van Rijn, H., & Anderson, J.R. (2015). Using Data-Driven Model-Brain Mappings to Constrain Formal Models of Cognition. PLoS ONE 10(3): e0119673.
New ROIs (zip)
Model code (zip)

Borst, J.P., Taatgen, N.A., & Van Rijn, H. (2015). What Makes Interruptions Disruptive? A Process-Model Account of the Effects of the Problem State Bottleneck on Task Interruption and Resumption. In Proceedings CHI 2015. Seoul, Korea.
Model code (zip)

Borst, J.P. & Anderson, J.R. (2015). The Discovery of Processing Stages: Analyzing EEG data with Hidden Semi-Markov Models. NeuroImage 108, 60-73.
Matlab code for HMM + readme + results (zip, 12.6 MB)
Matlab data file for HMM (mat, 2.33 GB)
Matlab code for data preparation (m, 5 KB)
Matlab data for data preparation (mat, 583.9 MB)

Borst, J.P., Nijboer, M., Taatgen, N.A., & Anderson, J.R. (2013). A Data-Driven Mapping of Five ACT-R Modules on the Brain. In R. West & T. Stewart (Eds.), Proceedings of the 12th International Conference on Cognitive Modeling. Ottawa: Carleton University.
New ROIs (zip)

Borst, J.P., Buwalda, T.A., Van Rijn, H., & Taatgen, N.A. (2013). Avoiding the Problem State Bottleneck by Strategic use of the Environment. Acta Psychologica 144(2), 373-379.
Experiment & Model code (zip/lisp)

Borst, J.P. & Anderson, J.R. (2013). Using Model-Based fMRI to locate Working Memory Updates and Declarative Memory Retrievals in the Fronto-Parietal Network. Proceedings of the National Academy of Sciences USA.
Model (lisp)

Borst, J.P., Taatgen, N.A., & Van Rijn, H. (2010). The Problem State: A Cognitive Bottleneck in Multitasking. Journal of Experimental Psychology: Learning, Memory, & Cognition 36(2), 363-382.
Experiment & Model code for Experiments 1, 2, and 3. (zip/lisp)

Borst, J.P., Taatgen, N.A., & Van Rijn, H. (2009). Modeling Triple-Tasking in a Cognitive Architecture. In N.A. Taatgen & H. van Rijn (Eds.), Proceedings of the 31st Annual Conference of the Cognitive Science Society. Cognitive Science Society.
Dual task experiment & model (zip/lisp)
Triple task experiment & model (zip/lisp)