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.

답변 (1개)

Walter Roberson
Walter Roberson 2022년 11월 23일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

제품

릴리스

R2020a

답변:

2022년 11월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by