System object: dsp.AudioFileReader
End-of-file status (logical)
STATUS = isDone(H)
STATUS = isDone(H) returns a logical value, STATUS , when the file is read PlayCount number of times. If you set the PlayCount property to a value greater than 1 , STATUS is true when EOF is reached PlayCount number of times, and it is false otherwise. STATUS is the same as the PlayCount output value in the step method syntax.