Read cell phone sensors in Matlab via UDP stream using Sensorstream IMU+GPS app.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
android-sensors-2-matlab
Read android phone sensors in Matlab via UDP stream using Sensorstream IMU+GPS app.
Instructions
- Download the repository files by clicking here
- Save the file "androidSensor2Matlab.m" in the MATLAB path or add your current path to the paths list. More details: help path.
- Download the Sensorstream IMU+GPS app in your phone
- Connect phone and notebook to the same wifi network
- Set phoneIP and port in androidSensor2Matlab.m
- Set notebook IP and target port in Sensorstream IMU+GPS app
- Choose the desired sensors in the Toggle Sensors pane.
- Switch Stream ON
- Run from command window:
androidSensors2Matlab
Dependencies
Sensors
Supported sensors (androidSensor2Matlab.m)
- Accelerometer
Sensors available from app.
- Accelerometer
- Gyroscope
- Magnetic Field
- GPS position
- Orientation
- Linear Accel.
- Gravity
- Rotation Vect.
- Pressure
- Battery Temp.
Cite As
André de Souza Mendes (2026). android-sensors-2-matlab (https://github.com/andresmendes/android-sensors-2-matlab/releases/tag/1.0.1), GitHub. Retrieved .
General Information
- Version 1.0.1 (1.32 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.1 | See release notes for this release on GitHub: https://github.com/andresmendes/android-sensors-2-matlab/releases/tag/1.0.1 |
||
| 1.0.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
