Main Content
String Count
Libraries:
Simulink /
String
Description
The String Count block counts the occurrences of the pattern (sub) in a string (str). If the input at sub matches part or all of the input at str, the block counts the occurrence as 1.
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced in R2020a
See Also
ASCII to String | Compose String | Scan String | String Concatenate | String Constant | String Contains | String Find | String Length | String to Double | String to Single | String to Enum | String to ASCII | Substring | To String