This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

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.

releaseStages

Release the locked state of all stages in the cascade

Syntax

releaseStages(FC)

Description

example

releaseStages(FC) calls the release method of individual stages in the dsp.FilterCascade object FC.

For instance, if a dsp.FilterCascade object consists of a dsp.FIRFilter object and a dsp.FIRInterpolator object, the releaseStages method calls the:

Examples

collapse all

Note: This example runs only in R2016b or later. If you are using an earlier release, replace each call to the function with the equivalent step syntax. For example, myObject(x) becomes step(myObject,x).

Create and release stages of a filter cascade.

firfilt = dsp.FIRFilter;
y = firfilt(randn);
FC = dsp.FilterCascade(dsp.FIRInterpolator, firfilt);
isLocked(FC.Stage2) % Returns 1
ans = logical
   1

releaseStages(FC);
isLocked(FC.Stage2) % Returns 0
ans = logical
   0

Input Arguments

collapse all

Filter cascade, specified as a dsp.FilterCascade System object™.

Introduced in R2014b