How to delete particular row from struct array?
Show older comments
Hi
I want to know is there any passible method to delete the entire data related to particular column value in struct array.
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 9 May 2013
s1=struct('a',num2cell(1:10),'b',num2cell(11:20),'c',num2cell(21:30))
label=9
s1(label)=[]
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!