Why 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?

2 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Categories

Find more on Propagation and Channel Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!