Main Content
destroy
Class: matlab.DiscreteEventSystem
Namespace: matlab
Event action upon entity destruction
Syntax
[events]=destroy(obj,storage,entity)
[events,out1,...]=destroy(obj,storage,entity,in1,...)
Description
[
specifies event actions of the object before an entity is destroyed. events
]=destroy(obj
,storage
,entity
)
[
specifies such event actions of the object when the block has one or more input signal
ports and/or signal output ports.events
,out1
,...]=destroy(obj
,storage
,entity
,in1
,...)
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016a