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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -