Limitations
For uninterrupted real-time sensor data reading, do not use other Arduino® functions while you are using the
readfunction. Calling other functions clears the stored data when theReadModeproperty is set toOldest, and does not return the oldest data stored when you read data.The function
readis not supported if theTraceOnparameter of thearduinoobject is set totruewhile creating the IMU sensor object. SetTraceOntofalseto use thereadfunction.TraceOnis not supported forgpsdev.In order to ensure latest data is obtained in
ReadModeisLatest, MATLAB® buffers are flushed if the delay between subsequent read is above a threshold value. For IMU sensors the threshold is 3s and for GPS this is 120s.