realizeModel
R2026bCreate Simulink block equivalent of CIC rate conversion and FIR filter objects
Since R2024a
Description
realizeModel( generates a Simulink® library block equivalent of the sysObj)dsp.CICDecimator, dsp.CICInterpolator, and dsp.FIRFilter objects. The properties and values of these objects define the
parameters of the resulting block.
Depending on the input filter object, realizeModel generates one of
the following:
A CIC Decimation block or an equivalent subsystem built from elementary operations for a
dsp.CICDecimatorobject. This option requires a Fixed-Point Designer™ license.A CIC Interpolation block or an equivalent subsystem built from elementary operations for a
dsp.CICInterpolatorobject. This option requires a Fixed-Point Designer license.A Discrete FIR Filter (Simulink) block or an equivalent subsystem built from elementary operations for a
dsp.FIRFilterobject. This option requires a Fixed-Point Designer license. (since R2026b)
realizeModel(
generates a Simulink library block for the input filter object with additional options specified by
one or more name-value arguments. sysObj,Name=Value)
The value of the UseLibraryBlocks argument determines how the
function implements the realized block. The value of this argument is
true by default, so the function generates the library block equivalent
of the object with default settings. If you set the UseLibraryBlocks
argument to false, the function generates a subsystem equivalent using
the Add (Simulink), Delay (Simulink), Gain (Simulink), and Data
Type Conversion (Simulink) blocks. To model rate conversion operations, the function uses the
Downsample and Upsample blocks.
Use the name-value arguments to control how the function generates the equivalent Simulink implementation. You can use these arguments to customize the block name, destination, and even optimize the block structure.







