Fail to using Matlab mobile sensors and import data from it

5 vues (au cours des 30 derniers jours)
Boris
Boris le 8 Déc 2022
Modifié(e) : Divyanshu le 23 Mar 2023
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'.

Réponses (1)

Divyanshu
Divyanshu le 23 Mar 2023
Modifié(e) : Divyanshu le 23 Mar 2023
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:

Catégories

En savoir plus sur Sensor Data Collection dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by