fn_ismemberstr
Contents
Syntax
c = fn_ismemberstr(a,b[,'doerror'])
Description
Same as ismember(a,b), but faster!!, for cell arrays of strings only. For easier programming, the set of strings b can also be defined as a single string with sub-strings separated by commas.
If no output argument is requested and flag 'doerror' is used, the function generates an error if any element of a does not match an element in b.
Source
Thomas Deneux
Copyright 2007-2017