| Contents | Index |
This table summarizes what's new in Version 3.1 (R2010a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
| Yes Details below | Yes Summary | Bug
Reports Includes fixes |
New features and changes introduced in this version are
With the SimEvents debugger, you can investigate the behavior of particular blocks using block-based breakpoints. After you establish a breakpoint on a block, the debugger suspends the simulation when that block is about to perform certain operations. For details, see these resources:
sedb.blkbreak function reference page
These blocks now include their operations in the simulation log:
Discrete Event Signal to Workspace
Instantaneous Event Counting Scope
Signal Scope
X-Y Signal Scope
These blocks now appear in the output of the sedb.blklist function and are valid as inputs to the sedb.blkinfo function:
Discrete Event Signal to Workspace
Discrete Event Subsystem
Instantaneous Event Counting Scope
The sedb.blklist function sorts its Command Window output and cell array output by block names instead of by block identifiers.
If you have code that manipulates or indexes into the output cell array from sedb.blklist, you might need to update the code to reflect new rows or a different sequence of rows.
The blocks in the following table have an optional pe or #pe signal output port. The signals at these ports provide information about pending entities in the block. The port behaviors are now simpler and more consistent across the various blocks.
| Block | Has Optional pe Port | Has Optional #pe Port |
|---|---|---|
| Event-Based Entity Generator | Yes | No |
| Infinite Server | Yes | Yes |
| N-Server | Yes | Yes |
| Output Switch | Yes | No |
| Single Server | Yes | No |
| Time-Based Entity Generator | Yes | No |
In V3.1 (R2010a), a pending entity is an entity that has tried and failed to depart from the block in which the entity resides.
When a block produces a pe output signal, the signal has an update (that is, a sample time hit) whenever there is a change in the set of pending entities that the block stores. The signal value is:
1, if the block stores one or more pending entities
0, if the block does not store any pending entities
When a block produces a #pe output signal, the signal has an update whenever there is a change in the set of pending entities that the block stores. The signal value is the number of pending entities that the block stores.
If your models use the pe or #pe signal to control simulation behavior, perform computations, or return results, your models might behave differently. The table summarizes the behavioral changes most likely to affect your models. For typical uses of the #pe signal, in which redundant sample time hits with the same value do not matter, the behavioral changes do not change the simulation results.
| Affected Blocks | Change in Behavior |
|---|---|
The pe signal does not have a sample time hit to reflect that an entity departs the first time it tries to depart. Such an entity is not a pending entity because it does not fail to depart. The same information is true for #pe in blocks that offer this port. | |
| When pe reflects the departure or other removal of a pending entity, the sample time hit occurs after the pending entity is no longer in the block. In earlier versions, when the pending entity is the only pending entity in the block, the sample time hit occurs when the departure or other removal is imminent. The sample time hit occurs at the same simulation time, but in a different sequence compared to other simultaneous events. |
| When you configure the block to produce an error if an entity fails to depart, the error situation does not cause a sample time hit in pe. In this configuration, the block cannot store any pending entities, so there is no storage action to cause a sample time hit in pe. You see the effect of this change if, after the error occurs, you examine pe in the workspace or in a plot. |
| If a pending entity departs and one or more pending entities remain in the block, the pe signal has a single sample time hit of 1. In earlier versions, in this situation, the signal has a sample time hit of 0 followed by a sample time hit of 1. |
Blocks that have an optional pe signal output port rename the parameter that you use to enable the port. The name in V3.0 (R2009b) is Status of pending entity departure or Status of pending entity. The new name in V3.1 (R2010a) is Pending entity present in block. The affected blocks are:
You can configure the Release Gate block to open upon each sample time hit of an input signal. Set the Open gate upon parameter to Sample time hit from port ts.
These blocks no longer support a configuration in which the table in the dialog box is empty:
Get Attribute
Set Attribute
| Affected Block | Affected Parameter | What Happens When You Use the Parameter? | Use This Instead | Compatibility Considerations |
|---|---|---|---|---|
| Status of pending entity departure is being removed. | In legacy models in which the parameter is set to On, the corresponding pe signal output port is inactive. In the library block, the parameter is unavailable. | Number of entities in queue | To update legacy models, set Status of pending entity departure to Off. For more information, see the technique in Determining Whether a Queue Is Nonempty. The technique yields similar, but not identical, information. |
| Capacity must have a positive value. | Warns if you set the value to 0. | A positive value. Alternatively, remove the block. | Remove queue blocks whose capacity is zero. |
![]() | Version 3.1.1 (R2010b) SimEvents Software | Version 3.0 (R2009b) SimEvents Software | ![]() |

Model electronic system architectures, process flows, and logistics as queuing systems or agent-based systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |