I have an array of nested structure. for example
st(1).a.b.c=1
st(2).a.b.c=2
st(3).a.b.c=3
...and so on
If I wanted to find the index number of the '.c' objects containing the number 3, I try the following function
find([st.a.b.c]==3)
It gives this error:
Expected one output from a curly brace or dot indexing expression, but there were 3 results.
Could anybody help me to solve this problem?