OFDM Modulator with Pilot subcarrier gives error

3 vues (au cours des 30 derniers jours)
Nicola Caldognetto
Nicola Caldognetto le 8 Juin 2021
I'm trying to simulate with Simulink a simple OFDM comunnication system. My scheme is availble below and I've choosen as an input a Bernoulli with sample time 1/192*1e-3 and 192 samples per frame. The modulation in 16 QAM and the OFDM block has an FFT lenght of 64, 15 guard bands for each side, a prefix lenght of 16 and pilot subcarrier indies at 16 and 32 (see below)
Now the issue is that I got an error Error in 'OFDM/Buffer1': All sample times must be discrete. No continuous or constant sample times are allowed. where the Buffer1 is the one on the bottom before the 16 QAM demodulator
(PN Sequence Generator settings below)
How can I fix it to use the pilot symbol

Réponses (1)

Shadaab Siddiqie
Shadaab Siddiqie le 28 Juil 2021
From my understanding you are getting an error when running above Simulink model. You can :
  1. Change the solver to discrete in configuration parameters in Simulink UI. Simulation > Model Configuration Parameters > Solver.
  2. On the Simulink toolbar, select Display > Sample time and check all. This will show the sample time for all of the signals in the model and show you where there is a continuous signal. You can change this by setting the block properties from which the signal originates.

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by