strfind
Syntax
Description
searches the string k
= strfind(str
,substr
)str
for occurrences of the substring
substr
. The operator returns a vector that contains the starting
index of each occurrence of substr
in str
. The
search is case-sensitive. Use this operator in the Requirements
Table block.
Examples
Input Arguments
Output Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b