Apple iOS Sensors Data Acquisition
Acquiring sensor data streaming involves creating a mobiledev
object,
turning on the sensors, and logging data to MATLAB®. You can then process the logged data, including creating
plots.
You can also acquire sensor data locally on the Apple iOS device, with or without a network connection. This is an alternative method of collecting the sensor data instead of streaming it from the device to your computer running MATLAB. This is especially useful if you want to collect sensor data while your device does not have a network connection.
Note
For a complete up-to-date list of available functions for mobile device sensors, see MATLAB Mobile Functions.
Functions
mobiledev | Create mobiledev object to acquire
data from iOS sensors |
mobiledevlist | List of mobile devices with accessible sensor data (Since R2020b) |
disp | Display properties of mobiledev object |
accellog | Return logged acceleration data from iOS sensor |
angvellog | Return logged angular velocity data from iOS sensor |
magfieldlog | Return logged magnetic field data from iOS sensor |
orientlog | Return logged orientation data from iOS sensor |
poslog | Return logged position data from iOS sensor |
discardlogs | Discard all logged data from iOS sensors |
readMobileSensorData | Import sensor data from file collected by MATLAB Mobile |