initEventArray
Class: matlab.DiscreteEventSystem
Namespace: matlab
Initialize event array
Syntax
event = initEventArray()
Description
creates an empty
array of event structures, to initialize the return of an event action method such as
event
= initEventArray()matlab.DiscreteEventSystem.entry
. This method enables you to append
elements to the array in the MATLAB Discrete-Event System block when the
Code generation
is selected for the Simulate
using parameter.
Output Arguments
Examples
Version History
Introduced in R2017b