How can I parse a NMEA packet real time on Simulink?
7 次查看(过去 30 天)
显示 更早的评论
Hi, I read from a serial device ASCII code using the Raspberry Pi serial read block. Now the problem. How can I decode the ASCII to a string then get values I want from it in real-time? The NMEA Packet I have is not from a GPS and it has this structure:
$PCHRP,105.015,-501.234,-501.234,15.521,20.32,20.32,20.32,20.32,*47
Thank you so much
1 个评论
Gayatri Menon
2018-10-8
You could write a MATLAB code to parse the sentence and include it in Simulink using a MATLAB function block or System block.
回答(1 个)
Markus Wiebe
2018-11-13
Hi Edoardo,
did you find a solution? I am facing the exact same problem.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!