Info

This question is closed. Reopen it to edit or answer.

Arrange incoming data in pairs in simulink

1 view (last 30 days)
Alejandro Martín
Alejandro Martín on 25 Jul 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
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!

Answers (0)

Community Treasure Hunt

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

Start Hunting!