why 'getnameidx' does not work?

5 visualizaciones (últimos 30 días)
pooria mazaheri
pooria mazaheri el 23 de Oct. de 2018
Comentada: pooria mazaheri el 25 de Oct. de 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?

Respuesta aceptada

dpb
dpb el 23 de Oct. de 2018
Editada: dpb el 23 de Oct. de 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.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by