Main Content
strncmpi
Compare first N characters of strings in Requirements Table block (case insensitive)
Since R2022b
Description
compares up to tf
= strncmpi(str1
,str2
,n
)n
characters of str1
and
str2
, ignoring case. The operator returns 1
(true
) if the strings are identical and 0
(false
) otherwise. Use this operator in the Requirements
Table block.
Examples
Input Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b