Time Series Anomaly Detector
Interactively create, train, test, and tune detectors for detecting anomalous behavior in time series
Since R2026a
Description
Add-On Required: This feature requires the Time Series Anomaly Detection for MATLAB add-on.
The Time Series Anomaly Detector app provides an interactive environment for developing anomaly detectors that can detect anomalous behavior in time series.
Using this app, you can:
Import historical or simulated data
Select from a variety of detector families, including detectors based on machine learning, deep learning, and statistical process control.
Train detectors on data with normal behavior, and test the trained detectors on data with anomalous behavior.
Visualize the source data and the detected anomalies, and view performance metrics.
Tune your detectors and retrain them in order to improve performance
Export the detectors you want to keep into your MATLAB® workspace.
To get started with the app, you must have at least one data set that represents normal behavior data in your MATLAB workspace. Once you have trained the detector, to test your detector, you must have at least one data set that represents anomalous behavior.
For more information about the detector development workflow, see Detecting Anomalies in Time Series.
Open the Time Series Anomaly Detector App
MATLAB toolstrip: on the Apps tab, under Deep Learning and Machine Learning, click the app icon.

MATLAB command prompt: enter
timeSeriesAnomalyDetector.
Examples
Parameters
Programmatic Use
Version History
Introduced in R2026a
![Time Series Anomaly Detector App. A toolstrip is on the top. The detectors and variables pane is on the left. The main section of the app shows a table of detection metrics and a plot of a detected anomaly, in red]](app-rp-app-screenshot.png)