- Change the solver to discrete in configuration parameters in Simulink UI. Simulation > Model Configuration Parameters > Solver.
- 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.
OFDM Modulator with Pilot subcarrier gives error
2 views (last 30 days)
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
Shadaab Siddiqie on 28 Jul 2021
From my understanding you are getting an error when running above Simulink model. You can :