MATLAB: Do I receive an “Input sample period must be greater than zero” error when using the “Multipath Rayleigh Fading Channel” block in the Communications Blockset

channelcommunications blocksetfadinginvalidmultipathrayleighsampletime

I have a complex signal that is connected to the "Multipath Rayleigh Fading Channel" block via a "To Frame" block. If I try to execute the model, I receive the following error:
Error in 'untitled1/Multipath Rayleigh Fading Channel/Rayleigh Fading Components' while executing C MEX S-function 'scomintfiltgauss', (mdlSetWorkWidths), at time 0. MATLAB error message:
Input sample period must be greater than zero.

Best Answer

This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
Documentation on the "Multipath Rayleigh Fading Channel" is missing information on the sample time constraints on the input signal. Input signal to the "Multipath Rayleigh Fading Channel" must have a discrete sample time greater than 0. The signal cannot have a continuous sample time.
Setting the sample time of the source of the signal to a discrete sample time (Ts >0) will resolve this issue.