export numerical data from selected data tips
1 view (last 30 days)
Show older comments
Hello,
After exporting data from data tips I selected in a figure, I get a struct variable. It has all the data I need but I don't know how to access it. any idea how can I convert the "Position" field to numerical array?
Thanks
0 Comments
Answers (3)
Walter Roberson
on 28 Dec 2021
positions = vertcat(S.Position); %assuming the struct is named S
The result will be an array with two columns.
0 Comments
See Also
Categories
Find more on Data Type Conversion 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!