MATLAB: How tondex into a structure array and assign columns to a variable

MATLAB

I have what looks likes a structure array as output. Each cell of the structure array is n x 5. I wish to attract columns 2, 3, and 4 from each cell and assign them each to a variable.
However to be honest I merely wish to index into each cell, and assign each column to a variable.
These variables will then be inputs to another script. How do I index into each cell and assign columns 2, 3,and 4 to variables D, E, and F for example?

Best Answer

column2_of_each = cellfun(@(M) M(:,2), TheCellArray, 'Uniform', 0);