MATLAB: How to access data from structure

MATLABstatisticsStatistics and Machine Learning Toolbox

Hi,
I have data in structure:
A.B.C
C is also structre with size 23×5
I want to access 4th column of each row (its a double values). How to do this with out for loop.

Best Answer

Please try this Command to get the 4th column
A.B.C(:,4) % To get 4th column