clear all clc %% Verbindung aufbauen blelist("Timeout", 5); h10 = ble("EE3CC81051AD"); % verbinden auf Polar H10 Brustgurt hr_char = characteristic(h10,"Heart Rate","Heart Rate Measurement"); %% hr_char.DataAvailableFcn = @displayCharacteristicData; %% Aufzeichnung stoppen clear h10 %% function displayCharacteristicData(src,~) [data,timestamp] = read(src,'oldest'); disp(data); disp(timestamp); end