I am getting invalid mex file
error while running some code in MATLAB (64-bit on Windows 7 64-bit).
After some googling, I learned that I need to download all dependency DLL files and put them with that MEX-file. So I did (used dependency walker to check for dependencies) but the issue remains. Dependency walker says different CPU types DLL files.
I can not find 64-bit version of some DLL files. What can I do to resolve the issue? Dependency walker's snapshot is here: