Simulink® Scope blocks and Scope viewers offer a quick and lightweight way to visualize your simulation data over time. If you are prototyping a model design, you can attach signals to a Scope block. After simulating the model, you can use the results to validate your design. See Scope Blocks and Scope Viewer Overview and Integrate a House Heating Model.
A Scope block or Scope viewer opens to a Scope window where you can display and evaluate simulation data.
The toolbar contains controls for starting, stopping, and stepping forward through a simulation . You can use these controls to debug a model by viewing signal data at each time interval. See How Stepping Through a Simulation Works.
Attach signals to a Floating Scope block or signal viewer using a signal selector tool that hierarchically displays all signals in a model. See Signal Selector.
Use the oscilloscope-like tools available with a scope to debug your model. Set triggers to capture events, use interactive cursors to measure signal values at various points, and review signal statistics such as maximum and mean values. See Scope Triggers Panel and Cursor Measurements Panel.
Save or log signal data to the MATLAB® workspace, and then plot data in a MATLAB figure widow. Use MATLAB functions or your own scripts to analyze the data. See Save Simulation Data Using Floating Scope Block.