Main Content

flush

Flush the host buffer

Since R2020a

Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.

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

Go to top of page