Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

iscellstr

Returns if a variable is a cell of strings.

Syntax

  • true_or_false = iscellstr(A)

Input argument

  • A - a variable

Output argument

  • true_or_false - a logical

Description

iscellstr(A) returns true if A is a cell of strings or an empty cell).

Examples

iscellstr('Nelson')
iscellstr({'Nelson'})
iscellstr({})

See also

iscell.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET