Main Content
strcmpi
Syntax
Description
compares strings tf
= strcmpi(str1
,str2
)str1
and str2
, ignoring
differences in letter case. The operator returns 1
(true
) if the strings are identical and 0
(false
) otherwise.
Note
The operator strcmpi
is not supported in Stateflow® charts that use C as the action language.
Examples
Input Arguments
Limitations
This operator does not support the use of Stateflow structure fields or messages. For more information about structures in Stateflow, see Access Bus Signals.
Version History
Introduced in R2021b