Function Reference
— Function File: strmatch (s, a, "exact")

Return indices of entries of a that match the string s. The second argument a may be a string matrix or a cell array of strings. If the third argument "exact" is not given, then s only needs to match a up to the length of s. Nul characters match blanks. Results are returned as a column vector.