Sensor Data Collection
With MATLAB®, MATLAB Mobile™, or MATLAB Online™, you can acquire and log sensor and camera data from your mobile device. Use MATLAB to process this data in various ways, such as plots and processing images.
You can collect data from these device sensors:
Microphone (Android only)
You can set camera properties including resolution, autofocus, and flash. You can set microphone properties such as sampling rate.
Device Connection and Information
Position and Motion
|Return logged acceleration data from mobile device sensor|
|Return logged angular velocity data from mobile device sensor|
|Return logged magnetic field data from mobile device sensor|
|Return logged orientation data from mobile device sensor|
|Return logged position data from mobile device sensor|
|Discard all logged data from mobile device sensors|
|Import collected data file from mobile device via USB connection|
Get Started with Sensors
- Sensor Data Collection with MATLAB Mobile
Capture device sensor data locally or stream sensor data to desktop MATLAB, MATLAB Online, or another device running MATLAB.
- Sensor Data Streaming
A basic workflow showing how to control remote sensors data from MATLAB.
- Process Logged Sensor Data
Plot orientation data logged from a mobile device sensor.
Log Sensor Data Locally
- Log Sensor Data Locally
Capture sensor data to a file on your mobile device.
Stream Sensor Data to MATLAB
- Stream Sensor Data with Mobile Device Controls
Use the controls on your mobile device to send sensor data to MATLAB running on MathWorks® Cloud or your computer.
- Stream Sensor Data with MATLAB Object Properties
Stream mobile device sensor data to MATLAB running on the MathWorks Cloud or your computer using the
Acquire Audio and Images from Device
- Acquire Audio Data from a Mobile Device Microphone
Connect to your mobile device microphone and acquire audio signals (currently Android sensors only).
- Acquire Images from a Mobile Device Camera
Connect to your mobile device camera and acquire images.
- Classify Images from Mobile Device Camera Using Pretrained Network
Use deep learning to classify images acquired by your mobile device camera.