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.m
if you want to compile the source code. -
after compiling, adding './bin' into MATLAB path.
addpath('./bin/');
- using
pesq_mex.m
function to compute PESQ. (there are examples incompile_test.m
file.)
if you like using python to compute PESQ score, you may interested in this implementation: