Determine which characters are letters
returns a Boolean array based on whether each character of
tf = isletter(
str is a
letter or not.
isletter operator is not supported in Stateflow® charts that use C as the action language.
Determine Which Characters of a String Are Letters
Create a Boolean vector of the form
[1 1 1 1 1 0 0 1 1 1 1 1
str = "Hello, world!"; X = isletter(str);
str — Input string
Input string, specified as a string scalar. Enclose literal strings with double quotes.
This operator does not support the use of Stateflow structure fields. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.
Introduced in R2021b