Matlab supports various string comparison options.
contains Determine if pattern is in strings
matches Determine if pattern matches strings
endsWith Determine if strings end with pattern
startsWith Determine if strings start with pattern
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!