Hi Riccardo
I understand that you want to calculate values of all path delays, not just the average path gains in the CDL Channel Model.
The example mentioned in the question contains a function that calculates all the individual path gains and stores them in the ‘pathGains’ variable. You can find the relevant line of the code here:
‘pathGains’ is a 4-dimensional matrix, and the 4th dimension is equal to the number of rays from the transmitter to the receiver.
Refer the below documentation on ‘nrCDLChannel’ object for detailed information on how the ‘pathGains’ matrix is calculated: https://www.mathworks.com/help/5g/ref/nrcdlchannel-system-object.html
Hope this answer helps