Fail to using Matlab mobile sensors and import data from it

7 次查看(过去 30 天)
For every collected sensor logs my device display icone that upload failed:
Also If I try to import mobile sensor log into matlab online it display:
s = readMobileSensorData("test_accel_20221203_123007.zip")
Warning: Column headers from the file were modified to make them valid MATLAB identifiers before creating variable names for the table. The original column headers are saved in the
VariableDescriptions property.
Set 'VariableNamingRule' to 'preserve' to use the original column headers as table variable names.
Unrecognized table variable name 'timestamp'.

回答(1 个)

Divyanshu
Divyanshu 2023-3-23
编辑:Divyanshu 2023-3-23
The failure in uploading of logged data to cloud may be due to compatibility of your device with MATLAB or due to some connectivity issue. Just try the steps mentioned below:
  • Check the compatibility of your mobile device with Matlab.
  • Enable sensor data access on your mobile device. Some sensors, such as the camera and microphone, may require permission to access data. Make sure you have granted the necessary permissions to the Matlab Mobile app.
  • Also check if Auto-Upload option is on if not then the logs won’t get uploaded automatically and should be done manually.
You can refer the following documentations for more information:
Regarding the warning message, Set the ‘VariableNamingRule’ to ‘preserve’ to use original column headers as table variable names. And then retry importing the sensors data.
Refer the following documentation to get better understanding:

类别

Help CenterFile Exchange 中查找有关 Sensor Data Collection 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by