Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Element from cell array extraction

1 visualizzazione (ultimi 30 giorni)
Gopalakrishnan venkatesan
Gopalakrishnan venkatesan il 23 Gen 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by