Just in case what I did may could cause any problem.
1. I add /Download/community-sdk-master to the Matlab search path.
2. I modified the iedk.h path from the original code :
[nf, w] = loadlibrary(‘.. / .. / bin/win32/edk’,’Iedk’, ‘addheader’, ‘.. / .. / bin/win32/IEmoStateDLL’, ‘addheader’, ‘.. / .. / bin/win32/IedkErrorCode’);
to
[nf, w] = loadlibrary(‘.. / .. / bin/win64/edk’,’.. / .. / include/Iedk‘, ‘addheader’, ‘.. / .. / bin/win64/IEmoStateDLL’, ‘addheader’, ‘.. / .. / bin/win64/IedkErrorCode’);
because the original code complain about “Error using loadlibrary could not find file Iedk.h”