From: bassplayer142 L on
I have an incoming boolean [7 1] column vector from the joystick block model buttons. Each button represents a 0 for off and 1 for on. I want to concatonate this to a single uint8 with bits 0-6 representing the buttons. The 7th and last bit is garbage and can be anything. I know I could write a matlab function block and do this but is there a simulink block that already does it. Thanks for any help.