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

2 views (last 30 days)
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

Find more on Structures 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!