Extract the particular element from the cell array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gopalakrishnan venkatesan
am 22 Jan. 2018
Bearbeitet: Gopalakrishnan venkatesan
am 22 Jan. 2018
I have cell array a = {'abd', 'abd\cd\def.mdl', 'abc\efg'}
I want to remove the element ending with 'mdl' and also element without '\'.
Finally my answer should be,
a = {'abc\efg'}
How can i do this using regexp or any other method?
Thanks a lot
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!