String Compare
R2026bCompare two input strings
Libraries:
Simulink /
String
Description
String Compare compares two strings. To see if two strings are identical, use this block. You can specify if the match is case sensitive and how much of the string to compare.
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/String/String Compare"
Example: add_block("simulink/String/String Compare","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2018a