Info

此问题已关闭。 请重新打开它进行编辑或回答。

Arrange incoming data in pairs in simulink

1 次查看(过去 30 天)
Hi everyone. I'm trying to acquire digital data sent by a PIC microcontroller via a DAQ board, the microcontroller sends some information in sets of 8 bits numbers, which need to be rearranged to form a 16 bits numbers by merging. To do so, my idea is to make an array and make a column vector every time two 8 bits numbers arrive, but I can't figure out a way to do it, I tried using a buffer but I couldn't get it working. I also tried using an Embedded MAtlab Function block with the same result. Any ideas?
Thanks in advance!

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by