How can I dynamically extract fields from a structure and create variables in the MATLAB workspace using the field names?
Show older comments
I have a created a structure containg fields a, b and c. Now I want to decompose my structure and save a, b and c as workspace variables with the filed name as the variable name.
Accepted Answer
More 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!