Functions and System Objects Supported for MATLAB Coder

You can generate efficient C/C++ code for all 5G Toolbox™ functions and System objects by using the MATLAB® Coder™ product (requires a license).

An asterisk (*) indicates that the reference page has usage notes and limitations for C/C++ code generation.

getPathFilters

Get path filter impulse response for link-level MIMO fading channel

getTransportBlock

Get transport block from UL-SCH or DL-SCH encoder

info

Get characteristic information about link-level MIMO fading channel

nrBCH

Broadcast channel (BCH) encoding

nrBCHDecode*

Broadcast channel (BCH) decoding

nrCarrierConfig

Carrier configuration parameters

nrCDLChannel*

Send signal through CDL channel model

nrChannelEstimate

Practical channel estimation

nrCodeBlockDesegmentLDPC

LDPC code block desegmentation and CRC decoding

nrCodeBlockSegmentLDPC

LDPC code block segmentation and CRC attachment

nrCRCDecode

Decode and remove cyclic redundancy check (CRC)

nrCRCEncode

Calculate and append cyclic redundancy check (CRC)

nrCSIRS

Generate CSI-RS symbols

nrCSIRSConfig

CSI-RS configuration parameters

nrCSIRSIndices

Generate CSI-RS resource element indices

nrDCIDecode*

Decode downlink control information (DCI)

nrDCIEncode

Encode downlink control information (DCI)

nrDLSCH*

Apply DL-SCH encoder processing chain

nrDLSCHDecoder*

Apply DL-SCH decoder processing chain

nrDLSCHInfo

Get downlink shared channel (DL-SCH) information

nrEqualizeMMSE

Minimum mean-squared error (MMSE) equalization

nrExtractResources*

Extract resource elements from resource array

nrLayerDemap

Layer demapping onto scrambled and modulated codewords

nrLayerMap

Layer mapping of modulated and scrambled codewords

nrLDPCDecode*

Low-density parity-check (LDPC) decoding

nrLDPCEncode

Low-density parity-check (LDPC) encoding

nrLowPAPRS*

Generate low peak-to-average power ratio (low-PAPR) sequence

nrPBCH*

Generate PBCH modulation symbols

nrPBCHDecode

Decode PBCH modulation symbols

nrPBCHDMRS*

Generate PBCH DM-RS symbols

nrPBCHDMRSIndices*

Generate PBCH DM-RS resource element indices

nrPBCHIndices*

Generate PBCH resource element indices

nrPBCHPRBS*

Generate PBCH scrambling sequence

nrPDCCH*

Generate PDCCH modulation symbols

nrPDCCHDecode

Decode PDCCH modulation symbols

nrPDCCHPRBS*

Generate PDCCH scrambling sequence

nrPDSCH*

Generate PDSCH modulation symbols

nrPDSCHDecode

Decode PDSCH modulation symbols

nrPDSCHPRBS*

Generate PDSCH scrambling sequence

nrPerfectChannelEstimate

Perfect channel estimation

nrPerfectTimingEstimate

Perfect timing estimation

nrPolarDecode*

Polar decoding

nrPolarEncode

Polar encoding

nrPRBS*

Generate PRBS

nrPSS*

Generate PSS symbols

nrPSSIndices*

Generate PSS resource element indices

nrPUCCH0*

Generate PUCCH format 0 modulation symbols

nrPUCCH1*

Generate PUCCH format 1 modulation symbols

nrPUCCH2*

Generate PUCCH format 2 modulation symbols

nrPUCCH3*

Generate PUCCH format 3 modulation symbols

nrPUCCH4*

Generate PUCCH format 4 modulation symbols

nrPUCCHHoppingInfo

Get PUCCH hopping information

nrPUCCHPRBS*

Generate PUCCH scrambling sequence

nrPUSCH*

Generate PUSCH modulation symbols

nrPUSCHCodebook

Generate PUSCH precoding matrix

nrPUSCHDecode

Decode PUSCH modulation symbols

nrPUSCHDescramble

Perform PUSCH descrambling

nrPUSCHPRBS*

Generate PUSCH scrambling sequence

nrPUSCHScramble

Perform PUSCH scrambling

nrRateMatchLDPC

Low-density parity-check (LDPC) rate matching

nrRateMatchPolar

Polar rate matching

nrRateRecoverLDPC

Low-density parity-check (LDPC) rate recovery

nrRateRecoverPolar

Polar rate recovering

nrSSS*

Generate SSS symbols

nrSSSIndices*

Generate SSS resource element indices

nrSymbolDemodulate*

Demodulate and convert symbols to bits

nrSymbolModulate*

Generate modulated symbols

nrTDLChannel*

Send signal through TDL channel model

nrTimingEstimate

Practical timing estimation

nrTransformDeprecode

Recover transform deprecoded symbols

nrTransformPrecode

Generate transform precoded symbols

nrUCIDecode*

Decode uplink control information (UCI)

nrUCIEncode

Encode uplink control information (UCI)

nrULSCH*

Apply UL-SCH encoder processing chain

nrULSCHDecoder*

Apply UL-SCH decoder processing chain

nrULSCHInfo

Get uplink shared channel (UL-SCH) information

resetSoftBuffer

Reset soft buffer for HARQ process in UL-SCH or DL-SCH decoder

setTransportBlock

Load transport block into UL-SCH or DL-SCH encoder

Related Topics