Why MATLAB mobile is not supporting all the sensors in Motorola Moto G3
6 次查看(过去 30 天)
显示 更早的评论
My MATLAB mobile is supporting accelerometer and magnetometer and GPS, not all the sensors in Moto G3 .... Is there any problem in my phone or bug in MATLAB mobile
0 个评论
回答(1 个)
Walter Roberson
2017-5-25
https://www.mathworks.com/hardware-support/android-sensor.html lists the supported sensors.
In Android, sensors do not "self-identify": with appropriate C code you can get the list of sensor device numbers, but the code is then expected to know how to control that kind of device and how to interpret it. There is no interface to say "Sensor #34, tell me what you are and all the various settings you have and recommend to me some good settings".
社区
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!