Main Content

newSession

Clear Filter Analyzer app session and start new one

Since R2024a

Description

newSession(fa) clears the current Filter Analyzer session fa of all displays and filter data, and then starts a new session.

Note

If you want to avoid losing any work, use saveSession to save your current Filter Analyzer session before calling newSession.

example

Examples

collapse all

Create a lowpass filter and display it in Filter Analyzer.

d1 = designfilt("lowpassfir", ...
    PassbandFrequency=0.45,StopbandFrequency=0.55);
fa = filterAnalyzer(d1);

Clear the session and start a new one.

newSession(fa)

Input Arguments

collapse all

Filter Analyzer app handle, specified as a filterAnalyzer object.

Version History

Introduced in R2024a