Hi, I'm just wondering if this function works for p-files? Line 144-147 tells the function to stop if the file is not an m-file. When I comment these lines out, it seems to provide the correct hash for the p-file.
Re: mclmcrrt711.dll is not there, I modified the VC code, replacing mclmcrrt711.dll with mclmcrrt8_2.dll because I use MATLAB 2013b which is upgraded to mclmcrrt8_2.dll. The code works well right now ;)
Check your "Path" environment variable in windows to see if the directory with the mclmcrrt711.dll is in it (usually in c:\program files\matlab\rxxxxx\runtime\win64 or \win32) otherwise you will either need to edit your path variable or add it in your program to search for the dll's location
I don't have a MATLAB Builder NE, I try to use MATLAB Compiler to run the MATLAB code with C shared Lib, but get this error while running the C# program: "Unable to load DLL 'mclmcrrt711.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Do someone know how to solve this? I have checked my MCR version, It looks compatible with my MATLAB.