How to delete the second struct from 2x1 (non-scalar)struct?
Show older comments
thank you for checking my Q first!
the struct is output in my case. it is in the loop, so at each iteration the row varies ( like 1x1, 2x1). but i just want to have the first row only (1x1) since i want to form table from each iteration.
any help please.
4 Comments
madhan ravi
on 11 Nov 2018
upload your code with all the necessary details
Mekidelawit Tirfe
on 11 Nov 2018
Edited: Mekidelawit Tirfe
on 11 Nov 2018
madhan ravi
on 11 Nov 2018
you forgot to upload your image file
Mekidelawit Tirfe
on 11 Nov 2018
Edited: Mekidelawit Tirfe
on 11 Nov 2018
Answers (1)
S = ... your structure
S = S(1)
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!