The model is not compiling. But now I understood how to change the location of the slprj folder.
Moreover I decided to make the R Rotation matrix a matrix (3*n_robots x 3) so I stack the R matrices of each robot one on top of each other.

Tomorrow I need to solve the rest of the errors.