I ran this example and it worked perfectly with the default parameters but when I set:
perfectChanEstimator = true;
It gives me the following error:
Undefined function or variable 'hPerfectTimingEstimate'.
Error in D2D_Simulation_MultipleTB (line 183)
offset = hPerfectTimingEstimate(fadingInfo);
I think the version of the toolbox i'm using is not the most recent one? I use MATLAB R2017b
If someone has the definition of the function or fixed this problem it other way, it would be very helpful if you could share your solution.