string.ne
string: TF = ne (A, B)
Test for inequality.
TF is true, if string A is lexicographically not
equal to B. If one input is a string array, the other input can be
a string array, a character vector, or a cell array of character vectors.
TF = ne (A, B) is equivalent to
TF = ! strcmp (A, B).
Source Code: string