Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Message says: "Failed While Running Modules - Invalid MEX-file"


Microsoft's Visual Studio must be installed to run ABCTracker's MEX plugins. 

  1. Download Visual Studio Community 2017 here
  2. During installation, select the following options:
    • Desktop development with C++
    • C++/CLI support (in pane on right, see image below)

      Image ModifiedImage Added

  3. Reboot computer after installation and re-run ABCTracker

Technical Details

To increase efficiency, ABCTracker integrates C/C++ plugins into MATLAB functions through MEX files. However, when transferring these ABCTracker files to another computer, it is necessary to use a runtime compiler to built a platform specific version of these C/C++ files. ABCTracker compiles these files using Visual Studio.

MATLAB articles: