I modified some lines of code to solve linker errors when using MEX compiler.
It maybe useful if you encountered similar errors.
-
using MATLAB run
compile_test.mif you want to compile the source code. -
after compiling, adding './bin' into MATLAB path.
addpath('./bin/');- using
pesq_mex.mfunction to compute PESQ. (there are examples incompile_test.mfile.)
if you like using python to compute PESQ score, you may interested in this implementation: