Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Functions and System Objects Supported for Code Generation

If you have a MATLAB® Coder™ license, you can generate C and C++ code from MATLAB code that contains DSP System Toolbox™ functions and System objects. For more information about C and C++ code generation from MATLAB code, see the MATLAB Coder documentation. For more information about generating code from System objects, see System Objects in MATLAB Code Generation.

The following DSP System Toolbox functions and System objects are supported for C and C++ code generation from MATLAB code.

NameRemarks and Limitations
Estimation

dsp.BurgAREstimator

System Objects in MATLAB Code Generation

dsp.BurgSpectrumEstimator

System Objects in MATLAB Code Generation

dsp.CepstralToLPC

System Objects in MATLAB Code Generation

dsp.CrossSpectrumEstimator

System Objects in MATLAB Code Generation

dsp.LevinsonSolver

System Objects in MATLAB Code Generation

dsp.LPCToAutocorrelation

System Objects in MATLAB Code Generation

dsp.LPCToCepstral

System Objects in MATLAB Code Generation

dsp.LPCToLSF

System Objects in MATLAB Code Generation

dsp.LPCToLSP

System Objects in MATLAB Code Generation

dsp.LPCToRC

System Objects in MATLAB Code Generation

dsp.LSFToLPC

System Objects in MATLAB Code Generation

dsp.LSPToLPC

System Objects in MATLAB Code Generation

dsp.RCToAutocorrelation

System Objects in MATLAB Code Generation

dsp.RCToLPC

System Objects in MATLAB Code Generation

dsp.SpectrumEstimator

System Objects in MATLAB Code Generation

dsp.TransferFunctionEstimator

System Objects in MATLAB Code Generation

Filters

ca2tf

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

cl2tf

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

dsp.AdaptiveLatticeFilter

System Objects in MATLAB Code Generation

dsp.AffineProjectionFilter

System Objects in MATLAB Code Generation

dsp.AllpoleFilter

dsp.BiquadFilter

System Objects in MATLAB Code Generation

dsp.CICDecimator

System Objects in MATLAB Code Generation

dsp.CICInterpolator

System Objects in MATLAB Code Generation

dsp.DigitalFilter

dsp.FastTransversalFilter

System Objects in MATLAB Code Generation

dsp.FilteredXLMSFilter

System Objects in MATLAB Code Generation

dsp.FIRDecimator

System Objects in MATLAB Code Generation

dsp.FIRFilter

dsp.FIRInterpolator

System Objects in MATLAB Code Generation

dsp.FIRRateConverter

System Objects in MATLAB Code Generation

dsp.FrequencyDomainAdaptiveFilter

System Objects in MATLAB Code Generation

dsp.IIRFilter

dsp.KalmanFilter

System Objects in MATLAB Code Generation

dsp.LMSFilter

System Objects in MATLAB Code Generation

dsp.RLSFilter

System Objects in MATLAB Code Generation

firceqrip

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

fireqint

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

firgr

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

  • Does not support syntaxes that have cell array input.

firhalfband

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

firlpnorm

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

  • Does not support syntaxes that have cell array input.

firminphase

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

firnyquist

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

firpr2chfb

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

ifir

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

iircomb

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

iirgrpdelay

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

  • Does not support syntaxes that have cell array input.

iirlpnorm

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

  • Does not support syntaxes that have cell array input.

iirlpnormc

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

  • Does not support syntaxes that have cell array input.

iirnotch

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

iirpeak

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

tf2ca

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

tf2cl

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

Math Operations 

dsp.ArrayVectorAdder

System Objects in MATLAB Code Generation

dsp.ArrayVectorDivider

System Objects in MATLAB Code Generation

dsp.ArrayVectorMultiplier

System Objects in MATLAB Code Generation

dsp.ArrayVectorSubtractor

System Objects in MATLAB Code Generation

dsp.CumulativeProduct

System Objects in MATLAB Code Generation

dsp.CumulativeSum

System Objects in MATLAB Code Generation

dsp.LDLFactor

System Objects in MATLAB Code Generation

dsp.LevinsonSolver

System Objects in MATLAB Code Generation

dsp.LowerTriangularSolver

System Objects in MATLAB Code Generation

dsp.LUFactor

System Objects in MATLAB Code Generation

dsp.Normalizer

System Objects in MATLAB Code Generation

dsp.UpperTriangularSolver

System Objects in MATLAB Code Generation

Quantizers

dsp.ScalarQuantizerDecoder

System Objects in MATLAB Code Generation

dsp.ScalarQuantizerEncoder

System Objects in MATLAB Code Generation

dsp.VectorQuantizerDecoder

System Objects in MATLAB Code Generation

dsp.VectorQuantizerEncoder

System Objects in MATLAB Code Generation

Scopes

dsp.SpectrumAnalyzer

This System object™ does not generate code. It is automatically declared as an extrinsic variable using the coder.extrinsic function.

dsp.TimeScope

This System object does not generate code. It is automatically declared as an extrinsic variable using the coder.extrinsic function.

Signal Management

dsp.Counter

System Objects in MATLAB Code Generation

dsp.DelayLine

System Objects in MATLAB Code Generation

Signal Operations

dsp.Convolver

System Objects in MATLAB Code Generation

dsp.DCBlocker

System Objects in MATLAB Code Generation

dsp.Delay

System Objects in MATLAB Code Generation

dsp.DigitalDownConverter

System Objects in MATLAB Code Generation

dsp.DigitalUpConverter

System Objects in MATLAB Code Generation

dsp.Interpolator

System Objects in MATLAB Code Generation

dsp.NCO

System Objects in MATLAB Code Generation

dsp.PeakFinder

System Objects in MATLAB Code Generation

dsp.PhaseUnwrapper

System Objects in MATLAB Code Generation

dsp.VariableFractionalDelay

System Objects in MATLAB Code Generation

dsp.VariableIntegerDelay

System Objects in MATLAB Code Generation

dsp.Window

dsp.ZeroCrossingDetector

System Objects in MATLAB Code Generation

Sinks

dsp.AudioPlayer

System Objects in MATLAB Code Generation

dsp.AudioFileWriter

System Objects in MATLAB Code Generation

dsp.UDPSender

System Objects in MATLAB Code Generation

Sources

dsp.AudioFileReader

System Objects in MATLAB Code Generation

dsp.AudioRecorder

System Objects in MATLAB Code Generation

dsp.SignalSource

System Objects in MATLAB Code Generation

dsp.SineWave

dsp.UDPReceiver

System Objects in MATLAB Code Generation

Statistics

dsp.Autocorrelator

System Objects in MATLAB Code Generation

dsp.Crosscorrelator

System Objects in MATLAB Code Generation

dsp.Histogram

dsp.Maximum

System Objects in MATLAB Code Generation

dsp.Mean

System Objects in MATLAB Code Generation

dsp.Median

System Objects in MATLAB Code Generation

dsp.Minimum

System Objects in MATLAB Code Generation

dsp.RMS

System Objects in MATLAB Code Generation

dsp.StandardDeviation

System Objects in MATLAB Code Generation

dsp.Variance

System Objects in MATLAB Code Generation

Transforms

dsp.AnalyticSignal

System Objects in MATLAB Code Generation

dsp.DCT

System Objects in MATLAB Code Generation

dsp.FFT

System Objects in MATLAB Code Generation

dsp.IDCT

System Objects in MATLAB Code Generation

dsp.IFFT

System Objects in MATLAB Code Generation

Was this topic helpful?