here is the Simulink model that i'm using :
The matlab function script :
function tau = fcn(sig,refsig) tau = gccphat(sig,refsig);
The errors :