setTransportBlock
Load transport block into UL-SCH or DL-SCH encoder
Syntax
Description
The setTransportBlock function loads a transport block into an
uplink shared channel (UL-SCH) encoder or downlink shared channel (DL-SCH) encoder System object™. Call this function before calling the corresponding encoder.
UL-SCH Encoder
setTransportBlock(
specifies options using one or more name-value arguments. For example, to specify
transport block number 1, set encUL,trblk,Name=Value)BlockID to 1. (since R2024a)
DL-SCH Encoder
setTransportBlock(
specifies options using one or more name-value arguments. For example, to specify
transport block number 1, set encDL,trblk,Name=Value)BlockID to 1. (since R2024a)
Examples
Input Arguments
Name-Value Arguments
References
[1] 3GPP TS 38.212. “NR; Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.