Sensor Data Collection
With MATLAB® Mobile™ or MATLAB Online™, you can collect sensor and camera data from your iOS device and log the data in MATLAB. Use MATLAB to process this data in various ways, including creating plots, or, for camera data, process the images.
You can collect data from these sensors:
You can also access the camera and acquire images on your iOS mobile device from MATLAB Mobile or MATLAB Online. You can set camera properties including resolution, autofocus, and flash.
|List of mobile devices with accessible sensor data|
|Display properties of |
|Return logged acceleration data from iOS sensor|
|Return logged angular velocity data from iOS sensor|
|Return logged magnetic field data from iOS sensor|
|Return logged orientation data from iOS sensor|
|Return logged position data from iOS sensor|
|Discard all logged data from iOS sensors|
|Connection to camera on iOS device|
|Acquire single image frame from iOS device camera|
Get Started with Sensors
Stream sensor data to MATLAB running in the MathWorks® Cloud or store data locally.
A simple walk-through that demonstrates controlling sensors and acquiring data.
This example shows how to plot orientation data using logged sensor data.
Log Sensor Data Locally
Capture sensor data to a file on your device.
Stream Sensor Data to MATLAB on the Cloud
Send sensor data to MATLAB running on MathWorks Cloud using MATLAB Mobile sensor controls.
Stream sensor data to MATLAB running on the MathWorks Cloud using the
Apple iOS Camera Image Acquisition
This example shows how to connect to your iOS mobile device camera and acquire images from it.
This example shows how to use deep learning to classify images acquired by your iOS mobile device camera.