Scopes and Data Logging
Display and record data
DSP Scopes visualize your streaming real-time data using hardware-inspired interfaces. Use measurements, cursors, triggers, and masks to visually inspect and analyze streaming data. In MATLAB®, you can visualize streaming data using scope System objects. In Simulink®, you can visualize signals using scope blocks or apps, or you can save data to MATLAB with the Time Scope or To Workspace blocks.
Blocks
Functions
Apps
Logic Analyzer | Visualize, measure, and analyze transitions and states over time |
Topics
Scope Configuration
- Control Scope Blocks Programmatically (Simulink)
This example shows how to control scopes with programming scripts. - Common Scope Block Tasks
Step-by-step procedures of common scope tasks, including logging data, sharing scope images, and display manipulation. - 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 Filter Visualizer
Customize Filter Visualizer properties and use measurement tools. - Configure Time Scope Block
Customize scope properties and use measurement tools. - Configure Time Scope MATLAB Object
Customizetimescope
properties and use measurement tools. - Configure Logic Analyzer
Adjust setting in the Logic Analyzer.
Scope Workflows
- Display Time-Domain Data
Display signals in the time domain. - Display Frequency-Domain Data in Spectrum Analyzer
This example shows how you can use a Spectrum Analyzer block to display the frequency content of two frame-based signals simultaneously. - Visualize Central Limit Theorem in Array Plot
This example shows how to use and configure thedsp.ArrayPlot
System object™ to visualize the Central Limit Theorem. - Inspect and Measure Transitions Using the Logic Analyzer
Learn the basics of the Logic Analyzer. - Time Scope Measurements
This example shows how to measure performance characteristics of a pulse width modulated sinusoid. - Spectrum Analyzer Measurements
This example shows you how to use the Spectrum Analyzer block for harmonic distortion measurements (such as THD, SNR, SINAD, and SFDR), third-order intermodulation (TOI) distortion measurements, and adjacent channel power ratio (ACPR) measurements. - Use Peak Finder to Find Heart Rate from ECG Input
This example shows how to use the Time Scope Peak Finder panel to measure the heart rate from an ECG. - Obtain Measurements Data Programmatically for spectrumAnalyzer object
Obtain measurements data fromspectrumAnalyzer
object. - Obtain Measurements Data Programmatically for Spectrum Analyzer Block
Obtain measurements data from Spectrum Analyzer block.
Data Logging
- Sample- and Frame-Based Concepts
Explore basic signal concepts in the context of a Simulink model. Learn more about sample-based processing and frame-based processing. - Save Signal Data Using Signal Logging (Simulink)
Capture signal data from a simulation by marking signals you want to log in the model. - Common Scope Block Tasks
Step-by-step procedures of common scope tasks, including logging data, sharing scope images, and display manipulation. - Import and Export Signals for Sample-Based Processing
Import signals from the MATLAB workspace into your DSP model and export signals from your signal processing model to the MATLAB workspace. The signals are configured for sample-based processing. - Import and Export Signals for Frame-Based Processing
Import signals from the MATLAB workspace into your signal processing model and export signals from your signal processing model to the MATLAB workspace. The signals are created for frame-based processing.