realizeModel
Create Simulink block equivalent for CIC rate conversion filter objects
Since R2024a
Description
realizeModel(
generates a Simulink® library block equivalent of the cicObj
)dsp.CICDecimator
and dsp.CICInterpolator
objects. The properties and
values of these objects define the resulting subsystem block parameters.
When cicObj
is a dsp.CICDecimator
object, the
realizeModel
function generates a CIC
Decimation block. When cicObj
is a
dsp.CICInterpolator
object, the realizeModel
function generates a CIC Interpolation block.
Note
This function requires a Fixed-Point Designer™ license.
realizeModel(
generates a Simulink library block for cicObj
,Name=Value
)cicObj
with additional options
specified by one or more Name-Value
pair arguments.
If you set the UseLibraryBlocks
property to
false
, the function generates an equivalent subsystem implementation of
a CIC rate converter using the Add (Simulink), Delay (Simulink), and Data Type Conversion (Simulink) blocks. To model rate
conversion operations, the function uses the Downsample and Upsample blocks. By default,
UseLibraryBlocks
is set to true
in which case the
function generates the library block equivalent instead.
Using name-value pair arguments lets you control more fully the way the function generates the equivalent Simulink implementation. You can customize the block name, destination, and even optimize the block structure.
Examples
Input Arguments
Version History
Introduced in R2024a