Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
Cem Sirkecioglu
Cem Sirkecioglu el 30 de Dic. de 2021
Respondida: Sai Teja G el 11 de Sept. de 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?

Respuestas (1)

Sai Teja G
Sai Teja G el 11 de Sept. de 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!

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by