Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Element from cell array extraction

1 回表示 (過去 30 日間)
Gopalakrishnan venkatesan
Gopalakrishnan venkatesan 2018 年 1 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by