The sample time in an RTL-SDR Receiver block is the Simulink® sample time. It is not related to the sample time of the data that the board receives over the air. However, it is a good practice to set the block's sample time to match the hardware sample time.
The sample time specified by the block mask is the time interval between successive output samples of theRTL-SDR Receiver block. If you turn on the sample time colors of the model, via Format > Sample Time Display > All, the sample time value at the output of the RTL-SDR Receiver block corresponds to the Simulink sample time. This is the time interval between block outputs. The Simulink sample time is equal to the sample time specified in the block mask times the vector length at the output of the block.
System object™ sample rate is the sample rate between successive samples of
MATLAB® data, specifically, the time interval between successive output
samples of the
System object. It is not related to the sample time of the data that the board
receives from the
System object. However, it is a good practice to set the System object sample rate to match the hardware sample time.
h = comm.SDRRTLReceiver; h.SampleRate = 200000;
h = System: comm.SDRRTLReceiver Properties: RadioAddress: '0' CenterFrequency: 102500000 EnableTunerAGC: true SampleRate: 200000 OutputDataType: 'int16' SamplesPerFrame: 1024 FrequencyCorrection: 0