IOPort(‘BytesAvailable’)

Psychtoolbox>IOPort.{mex*} subfunction

navailable = IOPort(‘BytesAvailable’, handle);

Return number ‘navailable’ of data bytes available for readout from device
specified by ‘handle’.

###See also: ‘Read’