magfieldlog
R2026bReturn logged magnetic field data from mobile device sensor
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.
[ returns the magnetic field log, where
log, timestamp]
= magfieldlog(m)m is the name of the mobiledev object that
acquires the sensor data. log is an N-by-3 matrix containing
magnetic field data points, and timestamp is an N-by-1 vector of
timestamps, where N is the number of acquired samples.
Examples
Output Arguments
Version History
Introduced in R2015a