matlab.DiscreteEventSystem Class
Namespace: matlab
Superclasses: matlab.System
Base class for discrete-event system objects
Description
matlab.DiscreteEventSystem
is the base class for
discrete-event System objects. In your class definition file, you must subclass your
object from this base class (or from another class that derives from this base class).
Subclassing allows you to use the implementation and service methods provided by this
base class to build your object. For more information about implementing matlab.DiscreteEventSystem
class with MATLAB
Discrete-Event System block, see Create Custom Blocks Using MATLAB Discrete-Event System Block.
Type this syntax as the first line of your class definition file to directly inherit
from the matlab.DiscreteEventSystem
base class, where
ObjectName
is the name of your
object:
classdef ObjectName < matlab.DiscreteEventSystem
For more information about implementing a discrete-event System object™, see Create a Discrete-Event System Object. For information about linking the discrete-event System object to a SimEvents® model and creating a custom behavior, see Delay Entities with a Custom Entity Storage Block.
The matlab.DiscreteEventSystem
class is a handle
class.
Class Attributes
Abstract | false |
HandleCompatible | true |
StrictDefaults | false |
For information on class attributes, see Class Attributes.
Methods
Examples
Version History
Introduced in R2016a
See Also
matlab.System
| entityType
| entry
| eventForward
| eventGenerate
| getEntityStorageImpl
| queueFIFO