I'm sending data from arduino by Serial Port, The data is sent in this format AXXXXBYYYYC\n, I want to extract only the numbers (XXXX and YYYY) between the letters.

Antworten (1)

Walter Roberson
Walter Roberson am 23 Nov. 2022

0 Stimmen

readline() and sscanf() using 'A%dB%dC' format

Kategorien

Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by