IOPort(‘Purge’)
Psychtoolbox>IOPort.{mex*} subfunction
IOPort(‘Purge’, handle);
Purge all data queued for reading or writing from/to device specified by
‘handle’. All unread or unwritten data is discarded.
###See also: ‘Flush’
IOPort(‘Purge’, handle);
Purge all data queued for reading or writing from/to device specified by
‘handle’. All unread or unwritten data is discarded.
###See also: ‘Flush’