why 'getnameidx' does not work?

1 visualizzazione (ultimi 30 giorni)
pooria mazaheri
pooria mazaheri il 23 Ott 2018
Commentato: pooria mazaheri il 25 Ott 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?

Risposta accettata

dpb
dpb il 23 Ott 2018
Modificato: dpb il 23 Ott 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.

Più risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by