For Android Sensor support in R2014a and higher releases see:
This submission enables MATLAB to access onboard sensors on Android mobile devices. With this submission, you can access a mobile device’s accelerometer, magnetometer, location, orientation and compass information directly from MATLAB running on your computer. You can access current and logged sensor data, and you can use MATLAB to visualize and analyze the mobile sensor data or make decisions based on the acquired data.
To use this submission, the computer and mobile device must be on the same network. The submission includes the necessary MATLAB files and a read me document for initial setup.
In order to use this support, you must first install the “Sensor UDP” mobile app available from Google Play.
For more information about MATLAB Android sensor support:
MathWorks Mobile Sensor Connectivity Team (2021). Android Sensor support from MATLAB (R2013a, R2013b) (https://www.mathworks.com/matlabcentral/fileexchange/40876-android-sensor-support-from-matlab-r2013a-r2013b), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!