Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Scopes and Data Logging

Display and record data

System Objects

dsp.TimeScope Time domain signal display
dsp.SpectrumAnalyzer Display frequency spectrum of time-domain signals
dsp.ArrayPlot Display vectors or arrays
dsp.LogicAnalyzer Display transitions of signals over time
dsp.SignalSink Log simulation data in buffer

Simulink Visualization Tool

Logic Analyzer Visualize, measure, and analyze transitions and states over time

Blocks

Array Plot Display vectors or arrays
Spectrum Analyzer Display frequency spectrum of time-domain signals
Time Scope Display time-domain signals
Vector Scope Display vector or matrix of time-domain, frequency-domain, or user-defined data
Matrix Viewer Display matrices as color images
Waterfall View vectors of data over time
To Workspace Write data to MATLAB workspace
Triggered To Workspace Write input sample to MATLAB workspace when triggered

Classes

spbscopes.SpectrumAnalyzerConfiguration Configure Spectrum Analyzer for programmatic access

Topics

Sample- and Frame-Based Concepts

Introduction to real-world sample- and frame-based signals, and how to model those signals in MATLAB® and Simulink®

Inspect Sample and Frame Rates in Simulink

Learn how to determine the sample and frame rates of signals in your model

Display Time-Domain Data

Display signals in the time domain

Display Frequency-Domain Data in Spectrum Analyzer

Display frequency-domain data in the Spectrum Analyzer block

Display Multiple Signals in the Time Scope

You can configure the Time Scope block to show multiple signals within the same display or on separate displays.

Visualize Central Limit Theorem in Array Plot

Visualize Central Limit Theorem in Array Plot

Control Scopes Programmatically

Control scopes with programming scripts

Export Signal Data Using Signal Logging

To capture signal data from a simulation, you can use signal logging. Mark the signals that you want to log and enable signal logging for the model.

Configure a Signal for Logging

Mark the signals that you want to log simulation data for.

Enable Signal Logging for a Model

To log signals marked for signal logging, set the Signal logging configuration parameter.

Display Multiple Signals in the Time Scope

You can configure the Time Scope block to show multiple signals within the same display or on separate displays.

Was this topic helpful?