Delete a row in a structure that contains a certain word
2 views (last 30 days)
Show older comments
Hi,
I have a 1×5897 struct array with fields. How do I delete the entire rows that contain the letters 'AA'.
3 Comments
Accepted Answer
Walter Roberson
on 3 Aug 2019
mask = ismember({Random.Letters}, 'AA') ;
Random(mask) = [] ;
0 Comments
More Answers (0)
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!