Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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.BasebandFileReader

System Objects in MATLAB Code Generation

comm.BasebandFileWriter

System Objects in MATLAB Code Generation

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

comm.EyeDiagram

dsp.ArrayPlot

dsp.SpectrumAnalyzer

dsp.TimeScope

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

bchgenpoly

All inputs must be constants. Expressions or variables are allowed if their values do not change.

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

rsgenpoly

All inputs must be constants. Expressions or variables are allowed if their values do not change.

rsgenpolycoeffs

All inputs must be constants. Expressions or variables are allowed if their values do not change.

LDPC Codes

comm.LDPCDecoder

Using default properties, comm.LDPCDecoder does not support code generation. To generate code, specify the ParityCheckMatrix property as a non-sparse row-column index matrix.

comm.LDPCEncoder

System Objects in MATLAB Code Generation

dvbs2ldpc

All inputs must be constants. Expressions or variables are allowed if their values do not change.

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

convenc

istrellis

oct2dec

poly2trellis

vitdec

Signal Operations
bin2gray

comm.Descrambler

System Objects in MATLAB Code Generation

comm.Scrambler

System Objects in MATLAB Code Generation

gray2bin

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

dpskdemod

dpskmod

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

genqamdemod

qammod

qamdemod

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

Analog Baseband Modulation 
comm.FMBroadcastDemodulator

System Objects in MATLAB Code Generation

comm.FMBroadcastModulator

System Objects in MATLAB Code Generation

comm.FMDemodulator

System Objects in MATLAB Code Generation

comm.FMModulator

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.CarrierSynchronizer

System Objects in MATLAB Code Generation

comm.CPMCarrierPhaseSynchronizer

System Objects in MATLAB Code Generation

comm.CoarseFrequencyCompensator

System Objects in MATLAB Code Generation

Timing Phase Synchronization
comm.SymbolSynchronizer

System Objects in MATLAB Code Generation

comm.PreambleDetector

System Objects in MATLAB Code Generation

comm.GMSKTimingSynchronizer

System Objects in MATLAB Code Generation

comm.MSKTimingSynchronizer

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

doppler

All inputs must be constants. Expressions or variables are allowed if their values do not change.

iqcoef2imbal

iqimbal

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?