accessing data from a struct
Show older comments
I have R, which is a 1x1 struct, which contains a matrix named X. I want to access X, how do I this? I want to load X into the workgroup.
R(1) doesn't seem to do it.
2 Comments
madhan ravi
on 21 Jul 2018
Could you upload the code?
Stephen23
on 21 Jul 2018
How to access data in structures is explained in the MATLAB documentation:
Accepted Answer
More Answers (1)
Anas Alakhras
on 28 Feb 2023
0 votes
R.X
Categories
Find more on Workspace Variables and MAT Files 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!