Packing simulink output data with communication protocol and transmit through serial port

3 ビュー (過去 30 日間)
Yong Zhong
Yong Zhong 2016 年 10 月 18 日
回答済み: Gayatri Menon 2022 年 11 月 9 日
Hey guys: I'm current doing a hardware in the loop experience and the controlling board receive data from the simulink model which they share particular communication protocol. But the problem is how to pack the simulink data with communication protocol. Is s-function works? Thanks a lot

回答 (1 件)

Gayatri Menon
Gayatri Menon 2022 年 11 月 9 日
Hey,
Consider using the Protocol decoder and Protocol encoder block to decode and encode data as per the specified packet structure. See the 'More About' section in the links for a few examples.
Hope this helps
Thanks
Gayatri

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by