How to read data (raw values) via Bluetooth low energy device (ble) (which gets data from a sensor) continuously in MATLAB?

I am working on a project which is composed of a spectral sensor (connected to a mikroElectronika development board) and a low energy bluetooth device (to get the value via bluetooth in MATLAB instead of serial port-interface). I want to read the data continuosly on MATLAB via bluetooth (ble - functions). What should I add after the following code (line) ?
b = ble("ANNA-B1-04BE03"); % device name is "ANNA-B1-04BE03"

Answers (0)

Asked:

on 3 Jan 2022

Commented:

on 26 Oct 2023

Community Treasure Hunt

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

Start Hunting!