startsWith
Description
returns tf
= startsWith(str
,substr
)1
(true
) if the string
str
starts with the substring substr
, and
returns 0
(false
) otherwise. Use this operator in the
Requirements
Table block.
checks if tf
= startsWith(str
,substr
,IgnoreCase=true)str
starts with substr
, ignoring any
differences in letter case.
Examples
Input Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b