Serial communication Matlab-Arduino

The matrix has a number of rows equal to the number of position to be assumed by the arm

Doesn't matter. You should be sending data for ONE position at a time, and only when the arm is at the last position sent.

each column represent a single motor

So, you need to send 6 values, not a matrix. Much simpler.

When WILL you learn to use code tags?