https://nl.mathworks.com/help/parallel-computing/spmdcat.html
spmdCat - Concatenate arrays on spmd workers - MATLAB
This MATLAB function horizontally concatenates the array A defined on each worker running an spmd block or communicating job.
concatenatearraysspmdworkersmatlab