check for an object of type character
type( expr, 'character' )
The type( expr, 'character' ) command verifies if expr is of type character. It returns true if expr is of type character, and false otherwise. A character is defined as a string with length equal to one.
Download Help Document
What kind of issue would you like to report? (Optional)