Data Frame Lengths

You can set the frame length of the SDRu Receiver block or comm.SDRuReceiver System object™ to be any integer value. This flexibility enables more straightforward multirate operation and easier modeling of standards-based packet communications. The default value is 362. This value optimally utilizes the underlying Ethernet payloads for a standard 1500-byte MTU.

Set Frame Length in SDRu Receiver Block

In the block mask of the receiver block, set Samples per frame parameter to the desired frame length.

Set Frame Length in SDRu Receiver System Object

  1. Create a receiver System object. For example:

    radio = comm.SDRuReceiver('Platform','B200','SerialNum','30FD838')

  2. Set the SamplesPerFrame property to the desired frame length.

    radio.SamplesPerFrame=1024
    radio = 
    
      System: comm.SDRuReceiver
    
      Properties:
                           Platform: 'B200'
                          SerialNum: '30FD838'
                     ChannelMapping: 1
                    CenterFrequency: 2.4500e+09
              LocalOscillatorOffset: 0
                               Gain: 8
                          PPSSource: 'Internal'
                        ClockSource: 'Internal'
                    MasterClockRate: 32000000
                   DecimationFactor: 512
                  TransportDataType: 'int16'
                     OutputDataType: 'Same as transport data type'
                    SamplesPerFrame: 1024
                    EnableBurstMode: false