Microsoft Visual C++ Runtime Library error when trying to call a Mex file

14 views (last 30 days)
Each time I try to call a Mex file (did not write/compile on my own), I get the Microsoft Visual C++ Runtime Library error. I downloaded and installed the Microsoft Visual C++ 2010 Redistributable Package. I am using Matlab R2013a (32bit) on a Win XP SP3 machine. The mex file is compiled for 32bit. Does anyone have any ideas how to solve this?
Thanks, Sven

Answers (1)

Jan
Jan on 23 Sep 2013
You can use the DendencyWalker to find the required libraries. Perhaps you need the 2008 runtimes?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!