Matlab mex file is invalid, mexw64 cannot find the specified module

Recompile,

For. Cpp file: mex xxx.cpp

For. Cu file: mexcuda xxx.cu

Read More: