Cancel previously scheduled entity generation event
cancels a previously scheduled generation event. You can then schedule this event by
returning it as the output argument when implementing an event action method, such as
storageID — Storage index
Storage index of the to-be-cancelled entity generation event.
tag — Tag
Tag of the to-be-cancelled entity generation event.
event — Event
Event for cancelling an entity generation.
Cancel Previously Scheduled Entity Generation Event
Cancel a previously scheduled entity generation event.
function [entity,event] = entry(obj,storage,entity,src) % Cancel a previously scheduled entity generation event. The event % was scheduled for storage element 3, with a custom tag 'seed'. event = obj.cancelGenerate(3, 'seed'); end
Introduced in R2016a