| MATLAB Function Reference | ![]() |
Determine if input is cell array of strings
Syntax
Description
tf = iscellstr(A)
returns logical 1 (true) if A is a cell array of strings and logical 0 (false) otherwise. A cell array of strings is a cell array where every element is a character array.
Examples
A{1,1} = 'Thomas Lee'; A{1,2} = 'Marketing'; A{2,1} = 'Allison Jones'; A{2,2} = 'Development'; iscellstr(A) ans = 1
See Also
cell, char, iscell, isstruct, isa, is*
| iscell | ischar | ![]() |
© 1994-2005 The MathWorks, Inc.