Main Content


  • For uninterrupted real-time sensor data reading, do not use other Arduino functions while you are using the read function. Calling other functions clears the stored data when the ReadMode property is set to Oldest, and does not return the oldest data stored when you read data.

  • The function read is not supported if the TraceOn parameter of the arduino object is set to true while creating the IMU sensor object. Set TraceOn to false to use the read function.

  • TraceOn is not supported for gpsdev.

  • In order to ensure latest data is obtained in ReadMode is Latest, 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.