i have two list of names
a = {'a1301013717010201102.csv';
'a1301013717010201103.csv';
'a1301013717010201104.csv';
'a1301013717010201105.csv';
'a1301013717010201106.csv';
'a1301013717010202101.csv';
'a1301013717010202102.csv'};
and
b = {'a1301013717010201102.csv';
'a1301013717010201103.csv';
'a1301013717010201104.csv';
'a1301013717010201105.csv'}
i used nameidx = getnameidx(a,b); but it cant find would u help me?

 채택된 답변

dpb
dpb 2018년 10월 23일
편집: dpb 2018년 10월 23일

0 개 추천

"getnameidx will be removed in a future release. Use contains instead..."
I don't have the Financial TB to test but seems to be a superfluous function
>> find(contains(a,b))
ans =
1
2
3
4
>>
amongst other ways.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2018년 10월 23일

댓글:

2018년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by