How to convert a structure array to a user defined data object array?

I have a 3x1 struct array with fields:
Name
Age
With data :
'Name1' 44
'Name2' 45
'Name3' 30
How can I create an array of data object from this structure?

Answers (0)

Categories

Asked:

on 13 Feb 2017

Commented:

on 14 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!