How to test cell array membership

3 Ansichten (letzte 30 Tage)
Kevin
Kevin am 31 Jul. 2014
Bearbeitet: Image Analyst am 31 Jul. 2014
This seems like a simple question, but how do I test for a string's membership in a cell array? Is there a function that returns 1 if string exists in cell array and 0 if not?
Thanks.

Akzeptierte Antwort

per isakson
per isakson am 31 Jul. 2014
Bearbeitet: Image Analyst am 31 Jul. 2014
Search ismember

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by