why 'getnameidx' does not work?

1 vue (au cours des 30 derniers jours)
pooria mazaheri
pooria mazaheri le 23 Oct 2018
Commenté : pooria mazaheri le 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?

Réponse acceptée

dpb
dpb le 23 Oct 2018
Modifié(e) : dpb le 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.
  1 commentaire
pooria mazaheri
pooria mazaheri le 25 Oct 2018
Thank u very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by