Fail to using Matlab mobile sensors and import data from it

조회 수: 7 (최근 30일)
Boris
Boris 2022년 12월 8일
편집: Divyanshu 2023년 3월 23일
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