How does tetio_readGazeData() work in MATLAB for the Tobii Pro Analytics SDK?

Tobii Pro Analytics SDK Tobii Pro
Reading the samples of gaze data in MATLAB differs from the other bindings.

The readGazeData() method from Tetio on MATLAB has a buffering functionality. When calling the readGazeData() method, it will push out all the previously buffered gaze data samples. The buffer has a capacity of 180,000 samples, which allows you to call the method only once every 10 minutes for a 300 Hz recording.