Documentation

Scopes and Data Logging

Display and record data

System Objects

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

Simulink Visualization Tool

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

expand all

Array Plot Display vectors or arrays
Display Show value of input
Spectrum Analyzer Display frequency spectrum
Time Scope Display signals generated during simulation
Matrix Viewer Display matrices as color images
Waterfall 视图向量of data over time
To Workspace Write data to MATLAB workspace
Triggered To Workspace Write input sample to MATLAB workspace when triggered

Functions

expand all

hide Hide scope window
show Display scope window
isVisible Determine visibility of scope
isNewDataReady Check spectrum analyzer for new data
getSpectrumData Save spectrum data shown in spectrum analyzer
getSpectralMaskStatus Get test results of current spectral mask
addCursor Add cursor to Logic Analyzer
addDivider Add divider to Logic Analyzer
addWave Add wave to Logic Analyzer
deleteCursor Delete Logic Analyzer cursor
deleteDisplayChannel Delete Logic Analyzer channel
getCursorInfo Return settings for Logic Analyzer cursor
getCursorTags Return all Logic Analyzer cursor tags
getDisplayChannelInfo Return settings for Logic Analyzer display channel
getDisplayChannelTags Return all Logic Analyzer display channel tags
modifyCursor Modify properties of Logic Analyzer cursor
modifyDisplayChannel Modify properties of Logic Analyzer display channel
moveDisplayChannel Move position of Logic Analyzer display channel

Objects

ArrayPlotConfiguration Array Plot block appearance and behavior
SpectrumAnalyzerConfiguration Configure Spectrum Analyzer for programmatic access
TimeScopeConfiguration Control Scope block appearance and behavior

Topics

Scopes

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

Visualize Central Limit Theorem in Array Plot

Visualize Central Limit Theorem in Array Plot

Control Scopes Programmatically(Simulink)

Control scopes with programming scripts

Configure Spectrum Analyzer

Customize Spectrum Analyzer properties, set up spectral masks, and use measurement tools.

Configure Array Plot

Customize Array Plot properties and use measurement tools.

Configure Time Scope

Customize scope properties and use measurement tools.

Configure Logic Analyzer

Open theLogic Analyzerand selectSettingsfrom the toolstrip.

Common Scope Interactions

Step-by-step procedures of frequently carried out scope tasks

Inspect and Analyze Models in Simulink

Choose a Simulink®visualization tool.

Array Plot with Apple iOS Devices(Simulink Support Package for Apple iOS Devices)

Array Plot with Android Devices(Simulink Support Package for Android Devices)

This example shows how to create an Android™ app to plot vector or array data on an Android device using the Array Plot block of DSP System Toolbox™ through a Simulink® model.

Inspect and Measure Transitions Using the Logic Analyzer

Learn the basics of the Logic Analyzer.

Data Logging

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

Export Signal Data Using Signal Logging(Simulink)

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(Simulink)

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

Enable Signal Logging for a Model(Simulink)

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

Featured Examples

Was this topic helpful?