Signal Processing Toolbox Previous page   Next Page

Exporting to Simulink

If you have Simulink installed, you can export a Simulink block of your filter design and insert it into a new or existing Simulink model.

You can export a filter designed using any filter design method available in FDATool.

  1. After designing your filter, click the Realize Model sidebar button or select Export to Simulink Model from the File menu. The Realize Model panel is displayed.

  2. Specify the name to use for your block in Block name.
  3. Select the Destination -- Current to insert the block into the current (most recently selected) Simulink model or New to open a new model.
  4. If you want to overwrite a block previously created from this panel, check Overwrite generated `Filter' block.

  1. Select the desired optimization(s) for your block:

The following illustration shows the effects of each optimization:

  1. Click the Realize Model button to create the filter block. The filter is implemented as a subsytem block using Sum, Gain, and Integer Delay blocks.

If you double-click the Filter block in Simulink, the filter structure is displayed. The following figure shows the first section of the default four-section, direct form II filter.


Previous page  Exporting to SPTool Generating a C Header File Next page

© 1994-2005 The MathWorks, Inc.