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:
Acceleration
Angular velocity
Magnetic field
Orientation
Position
Camera
Microphone
You can set camera properties including resolution, autofocus, and flash. You can set microphone properties such as sampling rate.
Add-On Required
To access 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.
Functions
Topics
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 bat365® Cloud or your computer. - Stream Sensor Data with MATLAB Object Properties
Stream mobile device sensor data to MATLAB running on the bat365 Cloud or your computer using themobiledev.logging
property.
Acquire Audio and Images from Device
- Acquire Audio Data from a Mobile Device Microphone
Connect to your mobile device microphone and acquire audio signals. - 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.