Main Content
isDoneImpl
Class: matlab.system.mixin.FiniteSource
Namespace: matlab.system.mixin
End-of-data flag
Syntax
status = isDoneImpl(obj)
Description
specifies whether the end of the data has been reached. status
= isDoneImpl(obj
)isDoneImpl
should
return true
when data from a finite source has been exhausted, typically
by having read and output all data from the source. You should also define the result of
future reads from an exhausted source in the isDoneImpl
method.
Run-Time Details
isDoneImpl
is called by the isDone
object function.
Method Authoring Tips
You must set Access = protected
for this method.