Main Content

flush

Flush the host buffer

Since R2020a

Description

flush(gpsdevObj) clears the buffers and resets the SamplesRead and SamplesAvailable.

Input Arguments

collapse all

The GPS sensor object with the default or specified properties.

Version History

Introduced in R2020a