I have created two classes, an 'inner' and 'outer' class. The 'outer' class has properties defined by methods that depend on data from the 'inner' class. I want to access properties for an array objects from the 'inner' class embedded inside an array of 'outer' class objects. I have tried indexing using various methods to no avail.
For example, I have 10 'outer' objects with 3 'inner' objects embedded within each. If I want to simultaneously define a value for a property of the array of 30 'inner' objects, I cannot. I have tried:
outer_obj(:,1).inner_obj(:,1).inner_property = value
but am getting an error. I haven't seen documentation that provides guidance on how to assign values to properties of an array of objects that are embedded inside an array.
Any assistance is greatly appreciated.