Main Content

dspfwiz

Create Simulink filter block using Realize Model panel

Syntax

Description

dspfwiz opens Filter Designer and displays the Realize Model panel.

Note

You must have a license for Simulink® to use this function.

  • Use other panels in Filter Designer to design your filter, and then use the Realize Model panel to create your filter as a subsystem block in a Simulink model. The subsystem block is a combination of the Sum (Simulink), Gain (Simulink), and Delay (Simulink) blocks.

  • If you have a license for DSP System Toolbox™, you can create a Biquad Filter (DSP System Toolbox) block or a Discrete FIR Filter (Simulink) block instead of a subsystem block by clearing the Build model using basic elements check box.

example

Examples

collapse all

Use the dspfwiz function to open the Filter Designer app and display the Realize Model panel.

dspfwiz

Filter Designer app window with the Realize Model panel

The Model and Optimization sections show in the app window. You can modify the default 8th-order lowpass filter by navigating to the other panels and using the corresponding design features. For more information on how to modify the filter, see Getting Started with Filter Designer.

Click the Realize Model button to create a Simulink® block named Filter. Once you click the button, the app generates and opens a Simulink model containing the block. The app defines the block as a subsystem block using basic elements.

Filter Designer App window with the Realize Model panel. The checkbox "Build model using basic elements" in the Model section is marked.

Version History

Introduced before R2006a

See Also

Apps