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 ExchangeMATLAB 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