View Data During Simulation
Scope blocks and scope viewers offer a quick way to visualize simulation data over time. If you are prototyping a model, connect signals to a Scope block, simulate the model, and then view the results in a scope window. Use the results to validate your design. If you need to debug your model, use oscilloscope-like tools in the Scope, such as triggers and cursor measurements, to locate the problem. To learn more, see Prototype and Debug Models with Scopes.
|Control Scope block appearance and behavior|
|Simulation Data Inspector||Inspect and compare data and simulation results to validate and iterate model designs|
|Add trigger to signal to control display updates in the Simulation Data Inspector|
|Get signal and trigger options for trigger configured in the Simulation Data Inspector|
|Remove trigger from signal in the Simulation Data Inspector|
|Specify record mode for logging|
|Check record mode for logging|
Step-by-step procedures of common scope tasks, including logging data, sharing scope images, and display manipulation.
Step-by-step procedures for frequently carried out Floating Scope block and Scope viewer tasks.
This example shows how to control scopes with programming scripts.
Choose the right visualization technique for each modeling and simulation task.
Choices about how to display simulation results graphically.
Prototype and debug models by using scopes and scope measurements.
Generate and visualize signals without blocks.
Step-by-step procedures for attaching, modifying, and removing signal generators.
Use triggers in the Simulation Data Inspector to control when plot displays update to display new data.
Stream signal data to a MATLAB® callback function during simulation for processing and visualization.