iscellstr
Test whether the input is a cell array of strings.
Syntax
Section titled “Syntax”TF = iscellstr(A)Description
Section titled “Description”Returns true if A is a cell array and every cell holds a character-array (string) value. Returns false for empty cells, non-string cells, or non-cell inputs.
Examples
Section titled “Examples”iscellstr({'foo', 'bar'}) % 1iscellstr({'foo', 42}) % 0