MATLAB Discrete-Event System
R2026bMATLAB discrete-event system
Libraries:
SimEvents
Description
The MATLAB Discrete-Event System block allows you to create and author
custom discrete-event systems. With this block, you can author an event-driven
entity-flow system using MATLAB®, and use it in your Simulink® model. For more information about implementing matlab.DiscreteEventSystem class with MATLAB Discrete-Event
System block, see Create Custom Blocks Using MATLAB Discrete-Event System Block.
Below, there are six examples to help you learn how to create custom blocks using the MATLAB Discrete-Event System block.
Examples
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"sldelib/MATLAB Discrete-Event System"
Example: add_block("sldelib/MATLAB Discrete-Event System","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2016a

