releaseStages

Release locked state of all stages in cascade

Description

example

releaseStages(FC) calls the release function of each individual stage in the dsp.FilterCascade System object™ FC.

For instance, if a dsp.FilterCascade object consists of a dsp.FIRFilter and a dsp.FIRInterpolator object, the releaseStages function 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) 
ans = logical
   1

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

Input Arguments

collapse all

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

Introduced in R2014b