(serial)
Flush the pending input, which will also make the BytesAvailable property be 0.
serial - instance of octave_serial class.
None
See also: srl_flush, flushoutput.
Package: instrument-control