android-sensors-2-matlab

Read cell phone sensors in Matlab via UDP stream using Sensorstream IMU+GPS app.
683 Downloads
Updated 22 May 2021

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

Instrument Control Toolbox

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 (2024). android-sensors-2-matlab (https://github.com/andresmendes/android-sensors-2-matlab/releases/tag/1.0.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Mobile in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
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.