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.

 采纳的回答

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by