C Code Generation with System Objects and Functions

The following System objects and functions support code generation in MATLAB® via the MATLAB Coder™ product. To use the codegen function, you must have a MATLAB Coder license.

NameRemarks and Limitations
Input and Output

comm.BarkerCode

System Objects in MATLAB Code Generation

comm.GoldSequence

System Objects in MATLAB Code Generation

comm.HadamardCode

System Objects in MATLAB Code Generation

comm.KasamiSequence

System Objects in MATLAB Code Generation

comm.WalshCode

System Objects in MATLAB Code Generation

comm.PNSequence

System Objects in MATLAB Code Generation

lteZadoffChuSeq

Signal and Delay Management

bi2de

de2bi

Display and Visual Analysis

comm.ConstellationDiagram

System Objects in MATLAB Code Generation

dsp.ArrayPlot

System Objects in MATLAB Code Generation

dsp.SpectrumAnalyzer

System Objects in MATLAB Code Generation

dsp.TimeScope

System Objects in MATLAB Code Generation

Source Coding
comm.DifferentialDecoder

System Objects in MATLAB Code Generation

comm.DifferentialEncoder

System Objects in MATLAB Code Generation

Cyclic Redundancy Check Coding

comm.CRCDetector

System Objects in MATLAB Code Generation

comm.CRCGenerator

System Objects in MATLAB Code Generation

comm.HDLCRCDetector

System Objects in MATLAB Code Generation

comm.HDLCRCGenerator

System Objects in MATLAB Code Generation

BCH Codes

comm.BCHDecoder

System Objects in MATLAB Code Generation

comm.BCHEncoder

System Objects in MATLAB Code Generation

Reed-Solomon Codes

comm.RSDecoder

System Objects in MATLAB Code Generation

comm.RSEncoder

System Objects in MATLAB Code Generation

comm.HDLRSDecoder

System Objects in MATLAB Code Generation

comm.HDLRSEncoder

System Objects in MATLAB Code Generation

LDPC Codes

comm.LDPCDecoder

System Objects in MATLAB Code Generation

comm.LDPCEncoder

System Objects in MATLAB Code Generation

Convolutional Coding

comm.APPDecoder

System Objects in MATLAB Code Generation

comm.ConvolutionalEncoder

System Objects in MATLAB Code Generation

comm.TurboDecoder

System Objects in MATLAB Code Generation

comm.TurboEncoder

System Objects in MATLAB Code Generation

comm.ViterbiDecoder

System Objects in MATLAB Code Generation

istrellis

poly2trellis

Signal Operations

comm.Descrambler

System Objects in MATLAB Code Generation

comm.Scrambler

System Objects in MATLAB Code Generation

Interleaving

comm.AlgebraicDeinterleaver

System Objects in MATLAB Code Generation

comm.AlgebraicInterleaver

System Objects in MATLAB Code Generation

comm.BlockDeinterleaver

System Objects in MATLAB Code Generation

comm.BlockInterleaver

System Objects in MATLAB Code Generation

comm.ConvolutionalDeinterleaver

System Objects in MATLAB Code Generation

comm.ConvolutionalInterleaver

System Objects in MATLAB Code Generation

comm.HelicalDeinterleaver

System Objects in MATLAB Code Generation

comm.HelicalInterleaver

System Objects in MATLAB Code Generation

comm.MatrixDeinterleaver

System Objects in MATLAB Code Generation

comm.MatrixInterleaver

System Objects in MATLAB Code Generation

comm.MatrixHelicalScanDeinterleaver

System Objects in MATLAB Code Generation

comm.MatrixHelicalScanInterleaver

System Objects in MATLAB Code Generation

comm.MultiplexedDeinterleaver

System Objects in MATLAB Code Generation

comm.MultiplexedInterleaver

System Objects in MATLAB Code Generation

Frequency Modulation

comm.FSKDemodulator

System Objects in MATLAB Code Generation

comm.FSKModulator

System Objects in MATLAB Code Generation

Phase Modulation
comm.BPSKDemodulator

System Objects in MATLAB Code Generation

comm.BPSKModulator

System Objects in MATLAB Code Generation

comm.DBPSKDemodulator

System Objects in MATLAB Code Generation

comm.DBPSKModulator

System Objects in MATLAB Code Generation

comm.DPSKDemodulator

System Objects in MATLAB Code Generation

comm.DPSKModulator

System Objects in MATLAB Code Generation

comm.DQPSKDemodulator

System Objects in MATLAB Code Generation

comm.DQPSKModulator

System Objects in MATLAB Code Generation

comm.OQPSKDemodulator

System Objects in MATLAB Code Generation

comm.OQPSKModulator

System Objects in MATLAB Code Generation

comm.PSKDemodulator

System Objects in MATLAB Code Generation

comm.PSKModulator

System Objects in MATLAB Code Generation

comm.QPSKDemodulator

System Objects in MATLAB Code Generation

comm.QPSKModulator

System Objects in MATLAB Code Generation

Amplitude Modulation
comm.GeneralQAMDemodulator

System Objects in MATLAB Code Generation

comm.GeneralQAMModulator

System Objects in MATLAB Code Generation

comm.PAMDemodulator

System Objects in MATLAB Code Generation

comm.PAMModulator

System Objects in MATLAB Code Generation

comm.RectangularQAMDemodulator

System Objects in MATLAB Code Generation

comm.RectangularQAMModulator

System Objects in MATLAB Code Generation

Continuous Phase Modulation
comm.CPFSKDemodulator

System Objects in MATLAB Code Generation

comm.CPFSKModulator

System Objects in MATLAB Code Generation

comm.CPMDemodulator

System Objects in MATLAB Code Generation

comm.CPMModulator

System Objects in MATLAB Code Generation

comm.GMSKDemodulator

System Objects in MATLAB Code Generation

comm.GMSKModulator

System Objects in MATLAB Code Generation

comm.MSKDemodulator

System Objects in MATLAB Code Generation

comm.MSKModulator

System Objects in MATLAB Code Generation

Trellis Coded Modulation
comm.GeneralQAMTCMDemodulator

System Objects in MATLAB Code Generation

comm.GeneralQAMTCMModulator

System Objects in MATLAB Code Generation

comm.PSKTCMDemodulator

System Objects in MATLAB Code Generation

comm.PSKTCMModulator

System Objects in MATLAB Code Generation

comm.RectangularQAMTCMDemodulator

System Objects in MATLAB Code Generation

comm.RectangularQAMTCMModulator

System Objects in MATLAB Code Generation

Orthogonal Frequency-Division Modulation
comm.OFDMDemodulator

System Objects in MATLAB Code Generation

comm.OFDMModulator

System Objects in MATLAB Code Generation

Filtering
comm.IntegrateAndDumpFilter

System Objects in MATLAB Code Generation

comm.RaisedCosineReceiveFilter

System Objects in MATLAB Code Generation

comm.RaisedCosineTransmitFilter

System Objects in MATLAB Code Generation

Carrier Phase Synchronization
comm.CPMCarrierPhaseSynchronizer

System Objects in MATLAB Code Generation

comm.PSKCarrierPhaseSynchronizer

System Objects in MATLAB Code Generation

Timing Phase Synchronization
comm.EarlyLateGateTimingSynchronizer

System Objects in MATLAB Code Generation

comm.GardnerTimingSynchronizer

System Objects in MATLAB Code Generation

comm.GMSKTimingSynchronizer

System Objects in MATLAB Code Generation

comm.MSKTimingSynchronizer

System Objects in MATLAB Code Generation

comm.MuellerMullerTimingSynchronizer

System Objects in MATLAB Code Generation

Synchronization Utilities
comm.DiscreteTimeVCO

System Objects in MATLAB Code Generation

Equalization
comm.MLSEEqualizer

System Objects in MATLAB Code Generation

MIMO
comm.LTEMIMOChannel

System Objects in MATLAB Code Generation

comm.MIMOChannel

System Objects in MATLAB Code Generation

comm.OSTBCCombiner

System Objects in MATLAB Code Generation

comm.OSTBCEncoder

System Objects in MATLAB Code Generation

comm.SphereDecoder

System Objects in MATLAB Code Generation

Channel Modeling and RF Impairments
comm.AGC

System Objects in MATLAB Code Generation

comm.AWGNChannel

System Objects in MATLAB Code Generation

comm.BinarySymmetricChannel

System Objects in MATLAB Code Generation

comm.IQImbalanceCompensator

System Objects in MATLAB Code Generation

comm.LTEMIMOChannel

System Objects in MATLAB Code Generation

comm.MemorylessNonlinearity

System Objects in MATLAB Code Generation

comm.MIMOChannel

System Objects in MATLAB Code Generation

comm.PhaseFrequencyOffset

System Objects in MATLAB Code Generation

comm.PhaseNoise

System Objects in MATLAB Code Generation

comm.RayleighChannel

System Objects in MATLAB Code Generation

comm.RicianChannel

System Objects in MATLAB Code Generation

comm.ThermalNoise

System Objects in MATLAB Code Generation

comm.PSKCoarseFrequencyEstimator

System Objects in MATLAB Code Generation

comm.QAMCoarseFrequencyEstimator

System Objects in MATLAB Code Generation

iqcoef2imbal

iqimbal2coef

Measurements and Analysis
comm.ACPR

System Objects in MATLAB Code Generation

comm.CCDF

System Objects in MATLAB Code Generation

comm.ErrorRate

System Objects in MATLAB Code Generation

comm.EVM

System Objects in MATLAB Code Generation

comm.MER

System Objects in MATLAB Code Generation

Was this topic helpful?