How to test cell array membership

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.

 採用された回答

per isakson
per isakson 2014 年 7 月 31 日
編集済み: Image Analyst 2014 年 7 月 31 日

1 投票

Search ismember

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

質問済み:

2014 年 7 月 31 日

編集済み:

2014 年 7 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by