   error(<span class="string">'ppdu_fmt not supported'</span>)
0232     <span class="keyword">end</span>
0233     
0234     <span class="comment">% Check if payload length is correct and perform CRC</span>
0235     <span class="keyword">if</span> (len &gt;= 5)
0236         <span class="comment">% Convert to bytes</span>
0237         pld_bytes = bi2de(reshape(rx_out(10:10 + len*8 - 1), 8, len)');
0238         
0239         <span class="comment">% Calculate CRC-32</span>
0240         pld_crc32 = <a href="crc3