| Contents | Index |
Here are typical ways to use plotting blocks in the SimEvents Sinks library to troubleshoot problems.
| Technique | Example |
|---|---|
| Check when an entity departs from the block. To do this, plot the #d output signal of the block. | Example: Plotting Entity Departures to Verify Timing |
| Check whether operations such as service completion or routing are occurring as you expect. To do this, plot statistical output signals such as pe or last, if applicable. | |
| Check whether a block uses a control signal as you expect. To do this, plot input signals such as port selection, service time, or intergeneration time, and compare the values with observations of how the corresponding blocks use those signals. | Example: Choices of Values for Event Priorities |
| Check how long entities spend in a region of the model. To do this, plot the output of a Read Timer block. | Example: M/M/5 Queuing System |
| Check whether events you expect to be simultaneous are, in fact, simultaneous. To do this, use the Instantaneous Entity Counting Scope or Instantaneous Event Counting Scope block. | Example: Counting Simultaneous Departures from a Server and Example: Plotting Event Counts to Check for Simultaneity |
![]() | Working with Scope Plots | Example: Plotting Entity Departures to Verify Timing | ![]() |

Learn how you can use SimEvents discrete-event simulation capabilities through these technical resources.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |