Invalid MEX-file, specific module could not be found

To be honest, i don't know where to start to tell my problems..
i wanna run a program about object detection called 'faster r-cnn' presented at Github, on MATLAB
here's the link, https://github.com/ShaoqingRen/faster_rcnn
All I have done is what that page tells me to do.
briefly, the page instructs to do,
first , Run
fetch_data/fetch_caffe_mex_windows_vs2013_cuda65.m to download a compiled Caffe mex (for Windows only).
second, Run
faster_rcnn_build.m
third, Run
startup.m
fourth, Run
fetch_data/fetch_faster_rcnn_final_model.m
finally,
experiments/script_faster_rcnn_demo.m
i solved to fourth step but last one,
there is only message that 'Invalid MEX-file, specific module could not be found'
i have googled about my problem but none of solution came out yet..
i did Dependancy walker and attached missing dll files to directory, nothing improved.
and someone said paste them to Windows\System32 folder,
MATLAB now go shut down after typing last instruction which didn't happen before paste them.
my Visual Studio is 2010 and MATLAB are 2013 and 2015.
reply me bold if any necessary further information on my computer.
help me where i got wrong...
thank you for reading

Answers (1)

The error message 'Invalid MEX-file, specific module could not be found' often indicates that the mex routine was compiled under a different version of MATLAB than the one you are running, and there is an incompatibility (mex routines are not guaranteed to be portable across MATLAB versions). If that is the problem, the only solution is to recompile the mex routine with your version of MATLAB (i.e., get all the source code and issue a mex command to compile it).

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Asked:

on 5 Jan 2016

Answered:

on 6 Jan 2016

Community Treasure Hunt

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

Start Hunting!