Main Content
discardlogs
Discard all logged data from mobile device sensors
Syntax
Description
Add-On Required
To use this function for accessing mobile device sensors remotely from MATLAB® installed on a desktop or laptop computer, you must also install either MATLAB Support Package for Apple iOS Sensors or MATLAB Support Package for Android® Sensors. For more information, see Get and Manage Add-Ons.
discardlogs(m)
discards all logged data, from
m
, the mobiledev
object that acquires the
sensor data. The discardlogs
function discards all logged
measurements that were created from the object, and also clears the initial
timestamp.
Examples
Version History
Introduced in R2015a