Instrument-control Toolkit - @octave_serial/flushinput
- Loadable Function: flushinput 
(serial) - 
Flush the pending input, which will also make the BytesAvailable property be 0.
Inputs
serial - instance of octave_serial class.
Outputs
None
See also: srl_flush, flushoutput.