isDone(src) returns a logical value indicating
whether or not the SignalSource object,
src, has reached the end of the imported signal. If the
SignalEndAction property of src is set to
Cyclic repetition, this method returns true every
time the reader reaches the end.
Note: This example runs only in R2016b or later. If you are using an earlier release, replace each call to the function with the equivalent step syntax. For example, myObject() becomes step(myObject).
Create a signal source to output one sample at a time.