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?

1 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Propagation and Channel Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by