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.

1 件のコメント

pooria mazaheri
pooria mazaheri 2018 年 10 月 25 日
Thank u very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

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