Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Generate Simulink filter block

`filt2block(b)`

`filt2block(b,'subsystem')`

`filt2block(___,'FilterStructure',structure)`

`filt2block(b,a)`

` filt2block(b,a,'subsystem')`

`filt2block(___,'FilterStructure',structure)`

`filt2block(sos)`

` filt2block(sos,'subsystem')`

`filt2block(___,'FilterStructure',structure)`

`filt2block(d)`

` filt2block(d,'subsystem')`

`filt2block(___,'FilterStructure',structure)`

`filt2block(___,Name,Value)`

`filt2block(`

generates
a Simulink`b`

,'subsystem')^{®} subsystem block that implements an FIR filter using
sum, gain, and delay blocks.

`filt2block(`

generates
a `sos`

)`Biquad Filter block`

with second order sections
matrix, `sos`

. `sos`

is a K-by-6
matrix, where the number of sections, `K`

, must be
greater than or equal to 2. You must have the DSP System
Toolbox™ software
installed to use this syntax.

` filt2block(`

generates
a Simulink subsystem block that implements a biquad filter using
sum, gain, and delay blocks.`sos`

,'subsystem')

`filt2block(___,'FilterStructure',`

specifies
the filter `structure`

)`structure`

for the biquad filter.

`filt2block(`

generates
a Simulink block that implements a digital filter, `d`

)`d`

.
Use the function `designfilt`

to
create `d`

. The block is a ```
Discrete FIR
Filter block
```

if `d`

is FIR and a ```
Biquad
Filter block
```

if `d`

is IIR.

` filt2block(`

generates
a Simulink subsystem block that implements `d`

,'subsystem')`d`

using
sum, gain, and delay blocks.

`filt2block(___,`

uses
additional options specified by one or more `Name,Value`

)`Name,Value`

pair
arguments.