Can you unbuffer a matrix in Simulink without incurring a timestamp on the output?

I'm working in Simulink, and I'm using an integer input stream that corresponds to various classes of hand/wrist movement. I have a user-defined function that outputs a UDP packet that I send to another program to animate a model. Each UDP packet corresponds to moving one joint in the animated model to a new position. This works fine, so now I want to modify the same user-defined function to output a matrix of all the joint commands associated with each class of movement. Each row represents a single command, and I'd like to peel these rows off one at a time to send over UDP in the format the animation software is expecting. I'm attempting to do this with Unbuffer, and although it produces the row vectors I need, they have acquired an extra dimension. Initially the signal had size 11, and now it has size [1x11]. Writing this new signal to the workspace shows the extra dimension that must be squeezed out. Adding a squeeze block in line with this signal doesn't do the trick. Any suggestions? Thanks a lot.

 Accepted Answer

More Answers (0)

Community Treasure Hunt

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

Start Hunting!