Extract fields from a structure. For example
ss(1,2).fd(3).b=5; getfield (ss, {1,2}, "fd", {3}, "b") ans = 5Note that the function call in the previous example is equivalent to the expression
i1= {1,2}; i2= "fd"; i3= {3}; i4= "b"; ss(i1{:}).(i2)(i3{:}).(i4)