Although strcmpi shares a name with a C function, it does not follow the C language convention of returning 0 when the text inputs match. Extended Capabilities expand all Tall Arrays Calculate with arrays that
This MATLAB function compares s1 and s2, ignoring any differences in letter case, and returns 1 (true) if the two are identical and 0 (false) otherwise.
This MATLAB function compares s1 and s2, ignoring any differences in letter case, and returns 1 (true) if the two are identical and 0 (false) otherwise.