How can I read Serial Data?
显示 更早的评论
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
2022-11-23
0 个投票
readline() and sscanf() using 'A%dB%dC' format
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!