 |
String Comparisons - MATLAB & Simulink
Note For C programmers, this is an important difference between the MATLAB ® strcmp and C strcmp() functions, where the latter returns 0 if the two strings are the same. The first three characters of str1 and str2 are identical, so invoking strncmp with a
www.mathworks.com |
 |