matlab - How to check if a string is in and cellarray? -


i have cellarray list of strings:

my_cell_array = {'stringa', 'stringb', 'stringc'} 

is there efficient one-liner check if literal string included in cellarray?

something python:

if 'stringc' in my_cell_array 

just found answer myself:

ismember('stringc', my_cell_array) 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -