Clear Filters
Clear Filters

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

6 views (last 30 days)
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?

Answers (1)

Sai Teja G
Sai Teja G on 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!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!