flush

Flush all GPS data accumulated in the buffers and reset properties

Description

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

Input Arguments

collapse all

The GPS sensor object with the default or specified properties.

Introduced in R2020b