flush

Flush the host buffer

Description

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

Note

This function is available only with the Navigation Toolbox™ and Sensor Fusion and Tracking Toolbox™.

Input Arguments

collapse all

The GPS sensor object with the default or specified properties.

Introduced in R2020a