MATLAB: Access Field from Struct

fieldsMATLABplotstructs

Hello everyone,
I need your help with accessing a field from a struct. I am not really familiar with how to use structs.
I got this struct (not mine, therefore I don't really know how to properly work with it) and just want to plot the values that are in the first column.
There is probably a really easy way how to do it. I tried to access the data with something like a=structname.MeansArea, but this gives me only the very first entry of the column. I apprechiate all help.

Best Answer

You need to use concatenation brackets [ ]
a=[structname.MeansArea]