Reading data from mobile phone sensors (mobiledev)

Shows how to save/update mobile phone sensors' logs to MATLAB Drive continuously (sensors.m) and access this data from PC (plotsensors.m)
188 Downloads
Aktualisiert 25. Jun 2020

We install MATLAB Mobile on the phone. In its settings we enable logiing to MATLAB Cloud and activate any sensors we want to record. Then we launch the sensors.m script on command line of the MATLAB Mobile on the phone. Leave it running, do not lock the phone or minimize the app. Then we start the second script (plotsensors.m) on our PC, which has the same MATLAB Drive account enabled, change current folder to MATLAB Drive (where sensors.mat data file will be created) and launch plotsensors.m. The data from the phone is plotted on PC and updated every second or so. The speed of syncronisation depends on how frequently the data is sent to MATLAB Drive by the phone and synced to your PC.

Zitieren als

Alex Pedcenko (2024). Reading data from mobile phone sensors (mobiledev) (https://github.com/aa3025/matlab_sensors), GitHub. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit R2015a bis R2020a
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.1

files uploaded to github

1.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.