% STRCMPI STRCMPI String Compare Case Insensitive Function % % Usage % % Compares two strings for equality ignoring case. The general % syntax for its use is % % p = strcmpi(x,y) % % where x and y are two strings, or cell arrays of strings. % See strcmp for more help. function y = strcmpi(source,pattern) y = strcmp(upper(source),upper(pattern));