How to show size of this element ?
1 view (last 30 days)
Show older comments
How can I print the shape of bbox{1,1}. I want to see that there are 2 rows in bbox{1,1}.
size(bbox{1,1})
Does not work.
2 Comments
madhan ravi
on 10 Nov 2018
Edited: madhan ravi
on 10 Nov 2018
is it a structure? upload your data file
Answers (1)
Image Analyst
on 10 Nov 2018
What does this hsow
numRows = length(fieldnames(bbox{1,1}))
I'm thinking that fieldnames would be a cell array with the fields '1' and '2' since that's what your screenshot shows as the fields.
0 Comments
See Also
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!