A flexible software tool for temporally-precise behavioral control in Matlab

J Neurosci Methods. 2008 Sep 30;174(2):245-58. doi: 10.1016/j.jneumeth.2008.07.014. Epub 2008 Jul 25.


Systems and cognitive neuroscience depend on carefully designed and precisely implemented behavioral tasks to elicit the neural phenomena of interest. To facilitate this process, we have developed a software system that allows for the straightforward coding and temporally-reliable execution of these tasks in Matlab. We find that, in most cases, millisecond accuracy is attainable, and those instances in which it is not are usually related to predictable, programmed events. In this report, we describe the design of our system, benchmark its performance in a real-world setting, and describe some key features.

Publication types

  • Research Support, N.I.H., Extramural
  • Research Support, Non-U.S. Gov't
  • Research Support, U.S. Gov't, Non-P.H.S.

MeSH terms

  • Animals
  • Behavior, Animal / physiology*
  • Computer Simulation*
  • Macaca mulatta
  • Software*
  • User-Computer Interface*