How to connect android accelometer to the matlab deskop

1 view (last 30 days)
I am trying to use sensor of android device for sensor fusion , i installed matlab mobile to the phone and connected to the matlab but when i try to run these commant it raised error "Unrecognized function or variable 'accellog'." but it run properly at the matlab mobile also i installed ;Sensor Fusion and Tracking Toolbox Version 2.0 (R2020b) ,Robotics System Toolbox Version 3.2 (R2020b) but it did not fixed
[a, ta] = accellog(AndroidDevice);
[w, tw] = angvellog(AndroidDevice);
[m, tm] = magfieldlog(AndroidDevice);
[oin, to] = orientlog(AndroidDevice);

Answers (1)

Tarunbir Gambhir
Tarunbir Gambhir on 16 Mar 2021
Edited: Tarunbir Gambhir on 17 Mar 2021
The feature to connect MATLAB Mobile to a computer/desktop has been deprecated since MATLAB 9.7 (R2019b).
Alternatively there is a new option to stream data to MATLAB online. Have a look at this documentation page.
You can also connect to the MathWorks Cloud and upload the data recorded on your device and access the files already uploaded to the MATLAB Drive.
The following URL can be used for connecting to the MathWorks Cloud from MATLAB Mobile:
1.Android Users:
2. iOS Users:
  1 Comment
Michael
Michael on 2 Aug 2021
@Tarunbir Gambhir Is there a reason that this was deprecated? I am building a code base that is intendened to be used in the field away from network connections. I need to be able to pull sensor data directly to my laptop. I was planning on using the Matlab mobile app, but when I looked into it yesterday I discovered this is no longer an option without Matlab Online. Will this capability be reinstated in a future release? Why did they remove this feature?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by