Matlab BLE communication with a peripheral

3 ビュー (過去 30 日間)
Stefan
Stefan 2018 年 4 月 9 日
回答済み: Sruthi Yenugula 2018 年 5 月 21 日
Is there a way to use Matlab as a BLE central device? I'd like to read measurements from a peripheral and use Matlab to make graphs and such.
My peripheral is a Redbear Nano 2 that I've programmed myself. So far I've only been able to find the Simulink block for BLE send/receive but as far as I can tell that's only for Android devices.

回答 (1 件)

Sruthi Yenugula
Sruthi Yenugula 2018 年 5 月 21 日
Simulink BLE Send /Receive Blocks are only supported on Android. You can use BLE Receive block which acts as central device on Android device, receive the data and using Scope Block, you visualize the graph on Android device itself.
Another option is to use external mode and get data back to Simulink using To workspace/To File/Scope Blocks. https://www.mathworks.com/help/supportpkg/android/ug/tune-parameters-and-monitor-data-in-a-model-running-on-target-hardware.html

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by