strcmpi
strcmpi(str1,str2) returns 1 (true) if string str1 is identical to str2 and 0 (false) otherwise, ignoring case. Arguments can also be cell array of strings.
Examples
> strcmpi('Abc','abc') [ans:true]
> s1 = 'ABCD'; s2 = {'AB' 'ABCD';'ABC' 'ABCd'}; [s1:ABCD] [s2:2x2 cell] > strcmpi(s1,s2)# 0 0 1 1