...
If you're compiling for Windows, uncomment and change the value of MATLIB_SUBDIR with the RELATIVE path between your ${MATLABDIR}/lib and the location of directory where is located the library 'libmex.lib' is found
BUILDING THE LIBRARY
In a Linux system, just run the make command and the building procedure should be completed without errors.
...