How to connect android accelometer to the matlab deskop

조회 수: 1(최근 30일)
aydin altun
aydin altun 2021년 3월 10일
댓글: Michael 2021년 8월 2일
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);


Tarunbir Gambhir
Tarunbir Gambhir 2021년 3월 16일
편집: Tarunbir Gambhir 2021년 3월 17일
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
Michael 2021년 8월 2일
@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?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by