Hi all
I have nested structure like below,
MyData(1).User.Id = 5;MyData(1).User.Name = 'XXX';MyData(2).User.Id = 7;MyData(2).User.Name = 'XXX';MyData(3).User.Id = 8;MyData(3).User.Name = 'XXX';MyData(4).User.Id = 9;MyData(4).User.Name = 'XXX';MyData(5).User.Id = 75;MyData(5).User.Name = 'XXX';MyData(6).User.Name = 45;MyData(6).User.data = 'XXX';
I need output out = [5,7,8,9,75,45]
without loop i need to output.
if any body know inbuild command for that.
Thanks in advance.
Best Answer