If used for research, please properly cite a paper this is used first. Brain-Computer Interface with Inhibitory Neurons Reveals Subtype-Specific Strategies Mitani, Akinori et al. Current Biology , Volume 28 , Issue 1 , 77 - 83.e4 http://www.cell.com/current-biology/fulltext/S0960-9822(17)31517-8
If you are using 64-bit windows, binary mex files can be downloaded at https://github.com/amitani/mex_tools/releases/download/171129/mex_tools.zip