MATLAB: Confusion about many, many workspace variables

concatenateloop

Hello all, I would like to know what I can do to concatenate or otherwise combine several items in my workspace. There are approximately 3840 samples, each is coded like: S01G1D2T3, S01G1T4….etc. Basically, there are 40 subjects, each with 96 trials. Each trial is a seperate item in the workspace. Some trials may have many more rows compared to others, but all have 36 columns of data.
Is there a way by which I can concatenate all trials, or perhaps a loop that will place each item into a matrix, but not requiring me to enter each item in sequence? Thanks a heap
Related Question