https://la.mathworks.com/help/matlab/ref/matlab.system.mixin.finitesource.isdoneimpl.html
matlab.system.mixin.FiniteSource.isDoneImpl - End-of-data flag - MATLAB
This MATLAB function specifies whether the end of the data has been reached.
end ofmatlabsystemmixindata