With MATLAB® Mobile™, you can collect sensor and camera data from your Android™ 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 Android mobile device from MATLAB Mobile. Set camera properties including resolution, autofocus, and flash.
|Create mobiledev object to acquire data from Android sensors|
|Display properties of mobiledev object|
|Return logged acceleration data from Android sensor|
|Return logged angular velocity data from Android sensor|
|Return logged magnetic field data from Android sensor|
|Return logged orientation data from Android sensor|
|Return logged position data from Android sensor|
|Discard all logged data from Android sensors|
|Connection to camera on Android device|
|Acquire single image frame from Android device camera|
Stream sensor data to MATLAB running in the MathWorks® cloud or log 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.
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
Capture sensor data locally to a file on your device.
This example shows how to connect to your Android mobile device camera and acquire images from it.
This example shows how to use deep learning to classify images acquired by your Android mobile device camera.