strncmp
Compare first N characters of strings in Requirements Table block (case sensitive)
Since R2022b
Description
compares up to tf = strncmp(str1,str2,n)n characters of str1 and
str2. 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.Busobject fields.
Version History
Introduced in R2022b
