Hi everybody
I have a problem to create structure arrays out of strings or cell arrays. Let's say we have a vector A=[1 2 3 4]. I have a string or cell array which reads "This is vector A". I would like to save A in a structure as This.is.vector.A.
The reason is that I have a very large csv or txt file with hundreds of columns, in every column is a header like "This is vector A", and the data of vector A below. I would like to save the data in a structure whose names derive from the string in it's header.
Thanks a lot if anybody could help me!
Best,
Chris
Best Answer