|On this page…|
Scope blocks, signal viewers, test points, and data logging provide ways for you to display and capture results from your simulations.
These icons represent the various data display and data capture devices:
For detailed information on signal viewers, see Signal and Scope Manager.
For information on signal logging, see Export Signal Data Using Signal Logging.
For information on signal Test Points, see Test Points.
For information on Scope Blocks, see Scope.
Use Scope blocks and scope signal viewers to display simulation results, but as shown in this table, they have different characteristics.
|Characteristic||Scope Signal Viewer||Scope Block|
Attach to signal using Signal Selector or context menu
See Signal Selector
|Drag from Library Browser|
|Scope of Control|
All viewers centrally managed from Signal and Scope Manager
Each managed individually
|Signals per axis|
One nonbus signal per axis or multiple signals fed through a mux or a bus
|Axes per scope|
Save data to a signal logging object
Save variable data to workspace as structures or arrays
Log data to model-wide data object
|Scrolling display data capability|
Color and line codes distinguish signals
|Graph Refresh Period||Adjustable|
|Display of Minor Steps||The viewer does not display minor steps regardless of the value of the Refine parameter setting.||Only displays major time step values. The scope displays additional interpolated points between major time steps if specified by the refine parameter.|
You should use signal generators and signal viewers instead of Source and Scope blocks when you want to:
Navigate to and attach signal generators or signal viewers deep within a model hierarchy.
Centrally manage all signal generators and signal viewers present in your model.
Use the display features provided by signal viewers that are not available in Scope blocks.
Reduce clutter in your block diagram. Because signal viewers attach directly to signals, it is not necessary for you to route them to a Scope block. This results in fewer signal routes in your block diagram.
View data from referenced models. See Test Points for more information.