IOPort(‘Purge’)

Psychtoolbox>IOPort.{mex*} subfunction

Purge all data queued for reading or writing from/to device specified by
‘handle’. All unread or unwritten data is discarded.

###See also: ‘Flush’