MATLAB: Headers in Matlab

headers

Hello, my problem is the following one. I have data say of the following kind:
Iter X Y Z
1 30 40 50
2 50 60 70
3 30 70 80
I want to be able to store the data in different columns by invoking the headers. To explain it better, if the variable "data" contains all the information, then when I say data['Iter'] I should be able to obtain the column [1,2,3]. I have learnt this from python and I want to know if this is possible using Matlab.
Chiara

Best Answer

Thanks to all but I think that only Walter got my question. I know about structures. However, my task is to save a column variable by only knowing the name of the corresponding header. In the end I should be able to write something like
iter=data('iter')
This is very useful when you import different files which share similar headers but where similar variables have different positions. I would simply like to avoid to retrieve the number of the column of each variable am interested in from each single file. If we could remember the name of the variables (like iter), then it would be a peace of cake to store what we want.
Chiara