indexing structure of structures [message #49376] |
Tue, 18 July 2006 04:50 |
Phony Account
Messages: 14 Registered: May 2005
|
Junior Member |
|
|
Hello group,
I am analyzing a bunch of data from an experimental series. The
analysis from each experiment (numbers a,b,c,... etc) is stored in a
structure. For reasons that have little to do with foresight and
expedience, I decided to store all the individual structures in one
large structure (This allows me to add some more fluff).
My problem is how to extract the parameter 'a' to plot it. I was
hoping that an array indexing method such as
outer_struct.([1,4,8,12]).a
would work, but it does not. So I am re-packaging the outer structure
as a vector of inner_structures.
Am I missing something in the IDL syntax that would allow me to keep
the structure of structures, and vectorially index the substructures?
Thanks,
Mirko
|
|
|