MATLAB Function Reference Previous page   Next Page
ischar

Determine if item is character array

Syntax

Description

tf = ischar(A) returns logical 1 (true) if A is a character array and logical 0 (false) otherwise.

Examples

Given the following cell array,

ischar shows that only C{1,2} is a character array.

See Also

char, isnumeric, islogical, isobject, isstruct, iscell, isa, is*


Previous page  iscellstr isdir Next page

© 1994-2005 The MathWorks, Inc.