How can I use "mobiledev" command in MATLAB desktop?

9 Ansichten (letzte 30 Tage)
Cem Sirkecioglu
Cem Sirkecioglu am 30 Dez. 2021
Beantwortet: Sai Teja G am 11 Sep. 2023
I am trying to write a code which is counting steps by acceleration data. I sourced this work: https://www.mathworks.com/help/matlabmobile/ug/counting-steps-by-capturing-acceleration-data.html
This code works in MATLAB mobile but when i want to upload it desktop, it doesn't work. It doesn't recognize the 'accellog' function and without it, I can't take data information from 'mobiledev' . When I use Logging metod to stream the sensor data, I provide what I want but I must log new data for every time in this method. Can I use mobiledev a different way in this project?

Antworten (1)

Sai Teja G
Sai Teja G am 11 Sep. 2023
Hi Cem,
I understand that you want to use 'mobiledev' function in the MATLAB desktop version.
From MATLAB, 'mobiledev' is not defined by default.
You need to install each of the following support packages to use 'mobiledev' and 'mobiledevlist'.
MATLAB Support Package for Apple iOS Sensors -
MATLAB Support Package for Android Sensors -
Also, please keep in mind that 'mobiledev' function works from MATLAB when MATLAB's machine and mobilephones are in the same network.
Hope it helps!

Kategorien

Mehr zu Sensor Data Collection finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by