iscellstr

Indicates whether each element of a cell array is a string.

Syntax

iscellstr(x)

Inputs

x
Type: cell
Dimension: scalar | vector | matrix

Outputs

R
Logical value indicating whether each element of x is a string.

Examples

Simple iscellstr example:
iscellstr({'string1','string2','string3'})
R = 1
Simple iscellstr example:
iscellstr({'string1','string2',3})
R = 0