Is there any way to enable Matlab Mobile App (Android) to receive data from a Bluetooth (BR/EDR or LE) connected device?

7 ビュー (過去 30 日間)
It seems that Matlab Mobile App cannot receive data directly from a Bluetooth (BR/EDR or LE) connected device. Is it possible to do that with the help of additional apps or plugins, or other workaround? How?

回答 (1 件)

Harsha Vardhan
Harsha Vardhan 2024 年 1 月 3 日
Hi,
I understand that you want to receive data in the MATLAB Android mobile App from another Bluetooth device.
MATLAB android mobile app sends all the commands to the cloud for evaluation. Please check that information here - https://www.mathworks.com/help/matlabmobile/matlab-mobile-fundamentals.html .
Further, currently, the sensor data collection on the mobile device does not include network interfaces. Please check that information here - https://www.mathworks.com/help/matlabmobile/sensor-data-collection.html .
So, executing the command 'bluetoothlist' on the Androidn mobile app does not return any results. And the execution of 'blelist' on the Android mobile app throws an error that it can't scan on Linux devices. So, receiving data on mobile app is not possible currently.
However, a workaround to receive Bluetooth data is to use the BLE Receive Simulink block (https://www.mathworks.com/help/supportpkg/android/ref/blereceive.html) from the Simulink Support Package for Android Devices.
Please check this link about receiving Bluetooth data on android mobile using the BLE receive Simulink block - https://www.mathworks.com/help/supportpkg/android/ref/work-with-ble-blocks-on-android-devices.html.
Hope this helps in resolving your query!
  1 件のコメント
Warwick Cheung
Warwick Cheung 2024 年 1 月 5 日
Thanks, Harsha!
It's a shame that I don't think it's worth to buy Simulink just for this purpose.

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by