iscellstr
Indicates whether each element of a cell array is a string.
Syntax
iscellstr(x)
Inputs
- x
- Type: cell
Outputs
- R
- Logical value indicating whether each element of x is a string.
Examples
iscellstr({'string1','string2','string3'})
R = 1
iscellstr({'string1','string2',3})
R = 0