MATLAB: Do I receive an error when I use a codeword length greater than 511 in the BCHENC function in the Communications Toolbox 3.1 (R14SP2)

bchbchenccommunicationsCommunications Toolboxencodermaximumvalue

The documentation of the BCHENC function states that the maximum allowed codeword length, n, is 65535. However, I receive an error when I use a codeword length greater than 511.

Best Answer

There is an error in the documentation of BCHENC function in the Communications Toolbox 3.1 (R14SP2). It mentions the maximum allowed codeword length, n, is 65535. The maximum allowed codeword length for BCHENC is only 511. However, this limitation has been removed in Communications Toolbox 3.2 (R14SP3) where BCHENC allows the maximum codeword length, n, to be 65535.