Matlab mobile sensor logging only gets a few values

4 ビュー (過去 30 日間)
Philip Masding
Philip Masding 2024 年 8 月 19 日
回答済み: Satwik 2024 年 8 月 20 日
I am trying to log sensor data on matlab mobile using a Samsung galaxy phone. Problem is that at 10Hz sampling i only get 3 samples no matter how long I wait before pressing stop.

回答 (1 件)

Satwik
Satwik 2024 年 8 月 20 日
Hi,
I understand you are experiencing issues with logging sensor data on MATLAB Mobile at a 10Hz sampling rate, where you only obtain 3 samples regardless of the duration. Based on my knowledge, here are two possible reasons for this issue:
  1. Local Data Collection Cap: MATLAB Mobile has a limitation, where collecting sensor data locally is subject to a 20 MB cap. If you are logging data over an extended period, this cap could be reached quickly, especially at higher sampling rates like 10Hz, leading to incomplete data collection.
  2. App Sent to Background: When collecting data for extended durations, the app might be sent to the background by the system, either due to the screen saver activating or the device going to sleep. To ensure continuous data acquisition, follow these steps: On android, MATLAB Mobile includes a setting to address this issue. Navigate to MATLAB Mobile Settings -> Sensor Settings -> Configure. Look for the setting named ‘Acquire Data in Background’. Ensure this setting is turned on. If it is not, enable it and try logging data again.
For more information, you may refer to this documentation:
Hope this helps!

カテゴリ

Help Center および File ExchangeMATLAB Mobile についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by