Main Content

matlab.system.mixin.FiniteSource Class

Namespace: matlab.system.mixin

Class that adds ability to check for the end of finite data source used by System object

Description

Use the matlab.system.mixin.FiniteSource class when you create a System object™ that reads data from a finite source, such as a file. In the definition of the FiniteSource class, you implement the isDoneImpl method, which returns a logical indication of whether the software has finished reading the data from the source.

When you subclass from the FiniteSource class, also subclass from the matlab.System class.

classdef ObjectName < matlab.System &...
    matlab.system.mixin.FiniteSource

The matlab.system.mixin.FiniteSource class is a handle class.

Class Attributes

HandleCompatible
true

For information on class attributes, see Class Attributes.

Methods

expand all

Version History

Introduced in R2012a