why 'getnameidx' does not work?

1 view (last 30 days)
pooria mazaheri
pooria mazaheri on 23 Oct 2018
Commented: pooria mazaheri on 25 Oct 2018
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?

Accepted Answer

dpb
dpb on 23 Oct 2018
Edited: dpb on 23 Oct 2018
"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.

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!