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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -