This change has been incorporated into the documentation in Release 2013a (R2013a). For previous releases, read below for any additional information:
This error can occur if you do not have all of the necessary DLL files that the MEX-function is dependent upon or if you are running a MEX-file on a different version of MATLAB than it was compiled on.
In order to view dependent DLL files and help locate the source of this error, you may use the third-party product "Dependency Walker". The Dependency Walker can be downloaded from the following web site:
Kindly refer to the attached solution below for more information on how to use the Dependency Walker to profile your MEX file.
After finding the missing dependent module, add it to the directory where the MEX file resides or add it to the system search path.