| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimEvents |
| Contents | Index |
| Learn more about SimEvents |
This table summarizes what's new in Version 2.4 (R2009a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
| Yes Details below | Yes Summary | Bug
Reports Includes fixes | No |
New features and changes introduced in this version are described here:
The new SimEvents debugger lets you use MATLAB functions to suspend a simulation at each step or breakpoint, and query simulation state to assess behavior. The debugger includes these functions:
| help | Display help for debugger functions |
| se_getdbopts | SimEvents debugger options structure |
| sedb.bdelete | Delete breakpoints in discrete-event simulation |
| sedb.blkinfo | Block information in discrete-event simulation |
| sedb.blklist | Blocks and their identifiers in discrete-event simulation |
| sedb.breakpoints | List breakpoints in discrete-event simulation |
| sedb.cont | Continue simulation until next breakpoint |
| sedb.currentop | Current operation in discrete-event simulation |
| sedb.detail | Customize debugger display in discrete-event simulation |
| sedb.disable | Disable breakpoints in discrete-event simulation |
| sedb.enable | Enable breakpoints in discrete-event simulation |
| sedb.eninfo | Entity information in discrete-event simulation |
| sedb.evbreak | Set breakpoint for execution or cancelation of event |
| sedb.evcal | Event calendar of discrete-event simulation |
| sedb.evinfo | Event information in discrete-event simulation |
| sedb.gceb | Name of currently executing block in discrete-event simulation |
| sedb.gcebid | Identifier of currently executing block in discrete-event simulation |
| sedb.gcen | Identifier of entity currently undergoing operation |
| sedb.gcev | Identifier of current event |
| sedb.quit | Quit discrete-event simulation debugging session |
| sedb.runtoend | Run until end of discrete-event simulation |
| sedb.simtime | Current time in discrete-event simulation |
| sedb.step | Single step in discrete-event simulation |
| sedb.tbreak | Set timed breakpoint in discrete-event simulation |
| sedebug | Debug discrete-event simulation |
For more information, see these resources:
Building a Simple Discrete-Event Model (Exploring the Simulation Using the Debugger section)
Building a Simple Hybrid Model (Confirming Event-Based Behavior Using the SimEvents Debugger section)
The SimEvents pane of the Configuration Parameters dialog box no longer contains event logging options. The behavior of the event logging options in earlier versions is like the behavior of the new debugger.
The debugger behavior produces slightly different information, with a different format, compared to the information produced by the event logging parameters. The closest approximations to the previous behavior use the detail and runtoend functions of the debugger.
| Event Logging Parameter Removed | Similar Behavior in Debugger |
|---|---|
| Display events in event calendar |
|
| Log events when executed |
The resulting log includes both execution messages and scheduling messages. Execution messages are not indented; scheduling messages are indented. |
| Log events when scheduled | |
| Log entities advancing from block to block |
The resulting log includes entity advancement messages and other information. Entity advancement messages appear indented. |
To approximate the behavior that results from setting multiple parameters for the same model, you can concatenate input arguments in the detail(...) command. For example, detail('ev',1,'en',1) is like logging event scheduling, event execution, and entity operations.
You can no longer place the Discrete Event Signal to Workspace block in an atomic subsystem. The atomic subsystem executes at time instants that conflict with the time instants at which the event-based block in the subsystem executes. In earlier versions, placing the Discrete Event Signal to Workspace block in an atomic subsystem can produce unexpected results. Function-Call Subsystem and Enabled Subsystem are examples of atomic subsystems.
If your legacy model includes a Discrete Event Signal to Workspace block in an atomic subsystem, update the model as follows:
Move the Discrete Event Signal to Workspace block outside the atomic subsystem.
Connect the block to an output signal from the subsystem.
![]() | Version 3.0 (R2009b) SimEvents Software | Version 2.3 (R2008b) SimEvents Software | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |