Spike Train Analysis Toolkit

In order to use Microsoft Visual C++ Toolkit 2003 with the Spike Train Analysis Toolkit, you must follow these instructions.

  1. If necessary, download and install the Microsoft .NET Framework Version 1.1 Redistributable Package. (This package appears to be included with many installations of Windows XP.)
  2. Download and install the Microsoft .NET Framework SDK Version 1.1. Regardless of where you choose to install the SDK, the installation process should create the folder C:\Program Files\Microsoft Visual Studio .NET 2003.
  3. Download and install the Microsoft Visual C++ Toolkit 2003. This product used to be available at the Microsoft website but has been replaced by Microsoft Visual C++ 2005 Express Edition. Unfortunately, the new version is not compatible with 32-bit versions of Matlab. (No testing has been done with a 64-bit environment.) You can still obtain Microsoft Visual C++ Toolkit 2003 from this third-party website. This installation should create the folder C:\Program Files\Microsoft Visual C++ Toolkit 2003.
  4. Copy all of the files in
    C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin
    to
    C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
    If there are any conflicts, overwrite the files in the Microsoft Visual Studio .NET 2003 folder with the files from the Microsoft Visual C++ Toolkit 2003 folder.
  5. Start Matlab and run mex -setup. Request that Matlab locate installed compilers. One of the options should be
    Microsoft Visual C/C++ Version 7.1 in C:\Program Files\Microsoft Visual Studio .NET 2003
    Choose this option.

Acknowledgement: These instructions were adapted from this thread on Matlab Central.