Nested structure
Show older comments
I am interested in reading data from a field of a structure which is within many layers of structures. data = info.ROIcontour1.Slice1.contourdata; This fetches the contourdata from slice#1 of the first ROI. I would like to read all the slices of that ROI and store inside 'data'. Obviously, doing this manually for 100s of slices is not fun. I am not aware of a solution using a simple For loop. Suggest me ways.
Thanks, Ganesh
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!