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